<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Map Not Displaying on Vue 2 with TypeScript and ES Modules in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-not-displaying-on-vue-2-with-typescript-and-es/m-p/1199447#M78175</link>
    <description>&lt;P&gt;I cannot get my map to display in my Vue 2 web app. I've done my best to follow the typing guide for ES Modules as well as the set up for TypeScript. I've tried some suggestions others have done, and those don't work either. The app compiles and runs and shows no errors. But the map does not display at all.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Does anyone have any idea what I'm doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;//tsconfig.json
{
  "compilerOptions": {
    "strict": true,
    "jsx": "preserve",
    "importHelpers": true,
    "moduleResolution": "node",
    "skipLibCheck": true,
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "sourceMap": true,
    "module": "ES2020",
    //"moduleResolution": "Node",
    "resolveJsonModule": true,
    "target": "ES2020",
    "baseUrl": ".",
    "types": [
      "webpack-env"
    ],
    "paths": {
      "@/*": [
        "src/*"
      ]
    },
    "lib": [
      "esnext",
      "dom",
      "dom.iterable",
      "scripthost",
      "ES2020",
      "DOM"
    ]
  },
  "include": [
    "./src",
    "src/**/*.ts",
    "src/**/*.tsx",
    "src/**/*.vue",
    "tests/**/*.ts",
    "tests/**/*.tsx"
  ],
  "exclude": [
    "node_modules"
  ]
}&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;//main.ts

import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import vuetify from './plugins/vuetify'
import { ADLogin } from "@wwinc/NPM-VueADRedirect";
import { SecurityService } from './services/security-service';
import 'leaflet/dist/leaflet.css';
import { Icon } from 'leaflet';
import esriConfig from '@arcgis/core/config';

//esriConfig.assetsPath = 'https://js.arcgis.com/4.24/@arcgis/core/assets';
//esriConfig.assetsPath = './src/assets';
esriConfig.assetsPath = '../node_modules/@arcgis/core/assets';
esriConfig.apiKey = "APIKEY";

type D = Icon.Default &amp;amp; {
  _getIconUrl?: string;
};

delete (Icon.Default.prototype as D)._getIconUrl;
Icon.Default.mergeOptions({
  iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'),
  iconUrl: require('leaflet/dist/images/marker-icon.png'),
})

Vue.config.productionTip = false

console.log(`
Environment Settings:  
  logonPageURL: ${process.env.VUE_APP_LOGINSITE_URL},
  logonApiURL: ${process.env.VUE_APP_LOGONAPI_URL},
  redirectURL: ${process.env.VUE_APP_LOGINREDIRECT_URI},
  baseURL: ${process.env.VUE_APP_BASE_URL},
  apiURL: ${process.env.VUE_APP_REP_API},
`)

Vue.use(ADLogin, {
  router,
  logonPageURL: process.env.VUE_APP_LOGINSITE_URL,
  logonApiURL: process.env.VUE_APP_LOGONAPI_URL,
  redirectURL: process.env.VUE_APP_LOGINREDIRECT_URI,
  store,
  debug: false
});

new Vue({
  router,
  store,
  vuetify,
  render: h =&amp;gt; h(App)
}).$mount('#app')

Vue.$security = new SecurityService();
Vue.prototype.$security = Vue.$security;&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;//main.css
@import "https://js.arcgis.com/4.24/@arcgis/core/assets/esri/themes/light/main.css";html,
body,
#app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}
.mapdiv {
    padding: 0;
    margin: 0;
    height: 80vh;
}&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;//vue.config.js

let CopyPlugin;
CopyPlugin = require('copy-webpack-plugin');

module.exports = {
  publicPath: '/RepWrangler/',
  configureWebpack: {
    plugins: [
      new CopyPlugin([
        { from: 'web.config', to: './' },
      ]),
    ],
    devtool: 'source-map'
  },
  transpileDependencies: [
    'vuetify', '@arcgis/core'
  ],
  devServer: {
    disableHostCheck: true
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;//App.vue

&amp;lt;template&amp;gt;
  &amp;lt;v-app id="app"&amp;gt;
    &amp;lt;v-app-bar
      app
      color="primary"
      absolute
    &amp;gt;
        &amp;lt;v-img
          class="shrink ma-2"
          contain
          :src="require('../src/assets/cowboy.png')"
          transition="scale-transition"
          max-height="40"
          max-width="40"
        /&amp;gt;

      &amp;lt;v-toolbar-title&amp;gt;
        Rep Wrangler
      &amp;lt;/v-toolbar-title&amp;gt;

      &amp;lt;v-spacer&amp;gt;&amp;lt;/v-spacer&amp;gt;

      &amp;lt;v-tooltip bottom&amp;gt;
        &amp;lt;template v-slot:activator="{on}"&amp;gt;
          &amp;lt;v-btn icon v-on="on" @click="logout"&amp;gt;
            &amp;lt;v-icon&amp;gt;mdi-logout&amp;lt;/v-icon&amp;gt;
          &amp;lt;/v-btn&amp;gt;
        &amp;lt;/template&amp;gt;
        &amp;lt;span&amp;gt;Logout&amp;lt;/span&amp;gt;
      &amp;lt;/v-tooltip&amp;gt;


      &amp;lt;template v-slot:extension&amp;gt;
        &amp;lt;v-tabs align-with-title&amp;gt;
          &amp;lt;router-link
            style="display: flex"
            to="/"&amp;gt;
            &amp;lt;v-tab style="color: white"&amp;gt;Home&amp;lt;/v-tab&amp;gt;
          &amp;lt;/router-link&amp;gt;
          &amp;lt;router-link
            style="display: flex"
            to="/map"&amp;gt;
            &amp;lt;v-tab style="color: white"&amp;gt;Retailers&amp;lt;/v-tab&amp;gt;
          &amp;lt;/router-link&amp;gt;
          &amp;lt;router-link
            style="display: flex"
            to="/reptable"&amp;gt;
            &amp;lt;v-tab style="color: white"&amp;gt;Reps&amp;lt;/v-tab&amp;gt;
          &amp;lt;/router-link&amp;gt;
          &amp;lt;router-link
              style="display: flex"
              to="/zipsearch"&amp;gt;
            &amp;lt;v-tab style="color: white"&amp;gt;Zip Search&amp;lt;/v-tab&amp;gt;
          &amp;lt;/router-link&amp;gt;
        &amp;lt;/v-tabs&amp;gt;
      &amp;lt;/template&amp;gt;

    &amp;lt;/v-app-bar&amp;gt;

    &amp;lt;v-main&amp;gt;
      &amp;lt;router-view/&amp;gt;
    &amp;lt;/v-main&amp;gt;
  &amp;lt;/v-app&amp;gt;
&amp;lt;/template&amp;gt;

&amp;lt;script lang="ts"&amp;gt;
import Vue from 'vue';

export default Vue.extend({
  name: 'App',

  methods: {
    logout() {
      this.$logout();
    }
  },

  async beforeMount() {
    await this.$store.dispatch('JWT');
  }
});
&amp;lt;/script&amp;gt;

&amp;lt;style&amp;gt;
#app{
  background-color: var(--v-background-base) !important;
}

&amp;lt;/style&amp;gt;&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;//MapComponent.vue

&amp;lt;template&amp;gt;
  &amp;lt;div class="mapdiv"&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;/template&amp;gt;

&amp;lt;script lang="ts"&amp;gt;
import Vue from 'vue';
import Map from '@arcgis/core/Map';
import MapView from '@arcgis/core/views/MapView';
import FeatureLayer from '@arcgis/core/layers/FeatureLayer';
import esriConfig from "@arcgis/core/config";


export default Vue.extend({
    name: "RepZipMap",

    async mounted() {
        esriConfig.apiKey = "APIKEY";
        esriConfig.assetsPath = 'https://js.arcgis.com/4.24/@arcgis/core/assets';

        const apiKey = "APIKEY";

        const map = new Map({
          basemap: "arcgis-streets" // Basemap layer service
        });

        const view = new MapView({
          map: map,
          center: [-92.0932, 38.232], // Longitude, latitude
          zoom: 5, // Zoom level
          container: 'mapdiv' // Div element
        });

        const zipLabelClass = {
          labelExpressionInfo: {
            expression: "$feature.ZIP_CODE"
          },
          labelPlacement: "above-center",
        }

        const featureLayer = new FeatureLayer({
          apiKey: "APIKEY",
          url: "https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_Boundaries_2021/FeatureServer/3",
          opacity: 0.4,
        });

        featureLayer.labelingInfo = [ zipLabelClass ];
        map.add(featureLayer);
    }
})
&amp;lt;/script&amp;gt;

&amp;lt;style scoped&amp;gt;
   @import '../main.css';
&amp;lt;/style&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Aug 2022 16:05:13 GMT</pubDate>
    <dc:creator>MollyWhitener</dc:creator>
    <dc:date>2022-08-04T16:05:13Z</dc:date>
    <item>
      <title>Map Not Displaying on Vue 2 with TypeScript and ES Modules</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-not-displaying-on-vue-2-with-typescript-and-es/m-p/1199447#M78175</link>
      <description>&lt;P&gt;I cannot get my map to display in my Vue 2 web app. I've done my best to follow the typing guide for ES Modules as well as the set up for TypeScript. I've tried some suggestions others have done, and those don't work either. The app compiles and runs and shows no errors. But the map does not display at all.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Does anyone have any idea what I'm doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;//tsconfig.json
{
  "compilerOptions": {
    "strict": true,
    "jsx": "preserve",
    "importHelpers": true,
    "moduleResolution": "node",
    "skipLibCheck": true,
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "sourceMap": true,
    "module": "ES2020",
    //"moduleResolution": "Node",
    "resolveJsonModule": true,
    "target": "ES2020",
    "baseUrl": ".",
    "types": [
      "webpack-env"
    ],
    "paths": {
      "@/*": [
        "src/*"
      ]
    },
    "lib": [
      "esnext",
      "dom",
      "dom.iterable",
      "scripthost",
      "ES2020",
      "DOM"
    ]
  },
  "include": [
    "./src",
    "src/**/*.ts",
    "src/**/*.tsx",
    "src/**/*.vue",
    "tests/**/*.ts",
    "tests/**/*.tsx"
  ],
  "exclude": [
    "node_modules"
  ]
}&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;//main.ts

import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import vuetify from './plugins/vuetify'
import { ADLogin } from "@wwinc/NPM-VueADRedirect";
import { SecurityService } from './services/security-service';
import 'leaflet/dist/leaflet.css';
import { Icon } from 'leaflet';
import esriConfig from '@arcgis/core/config';

//esriConfig.assetsPath = 'https://js.arcgis.com/4.24/@arcgis/core/assets';
//esriConfig.assetsPath = './src/assets';
esriConfig.assetsPath = '../node_modules/@arcgis/core/assets';
esriConfig.apiKey = "APIKEY";

type D = Icon.Default &amp;amp; {
  _getIconUrl?: string;
};

delete (Icon.Default.prototype as D)._getIconUrl;
Icon.Default.mergeOptions({
  iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'),
  iconUrl: require('leaflet/dist/images/marker-icon.png'),
})

Vue.config.productionTip = false

console.log(`
Environment Settings:  
  logonPageURL: ${process.env.VUE_APP_LOGINSITE_URL},
  logonApiURL: ${process.env.VUE_APP_LOGONAPI_URL},
  redirectURL: ${process.env.VUE_APP_LOGINREDIRECT_URI},
  baseURL: ${process.env.VUE_APP_BASE_URL},
  apiURL: ${process.env.VUE_APP_REP_API},
`)

Vue.use(ADLogin, {
  router,
  logonPageURL: process.env.VUE_APP_LOGINSITE_URL,
  logonApiURL: process.env.VUE_APP_LOGONAPI_URL,
  redirectURL: process.env.VUE_APP_LOGINREDIRECT_URI,
  store,
  debug: false
});

new Vue({
  router,
  store,
  vuetify,
  render: h =&amp;gt; h(App)
}).$mount('#app')

Vue.$security = new SecurityService();
Vue.prototype.$security = Vue.$security;&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;//main.css
@import "https://js.arcgis.com/4.24/@arcgis/core/assets/esri/themes/light/main.css";html,
body,
#app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}
.mapdiv {
    padding: 0;
    margin: 0;
    height: 80vh;
}&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;//vue.config.js

let CopyPlugin;
CopyPlugin = require('copy-webpack-plugin');

module.exports = {
  publicPath: '/RepWrangler/',
  configureWebpack: {
    plugins: [
      new CopyPlugin([
        { from: 'web.config', to: './' },
      ]),
    ],
    devtool: 'source-map'
  },
  transpileDependencies: [
    'vuetify', '@arcgis/core'
  ],
  devServer: {
    disableHostCheck: true
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;//App.vue

&amp;lt;template&amp;gt;
  &amp;lt;v-app id="app"&amp;gt;
    &amp;lt;v-app-bar
      app
      color="primary"
      absolute
    &amp;gt;
        &amp;lt;v-img
          class="shrink ma-2"
          contain
          :src="require('../src/assets/cowboy.png')"
          transition="scale-transition"
          max-height="40"
          max-width="40"
        /&amp;gt;

      &amp;lt;v-toolbar-title&amp;gt;
        Rep Wrangler
      &amp;lt;/v-toolbar-title&amp;gt;

      &amp;lt;v-spacer&amp;gt;&amp;lt;/v-spacer&amp;gt;

      &amp;lt;v-tooltip bottom&amp;gt;
        &amp;lt;template v-slot:activator="{on}"&amp;gt;
          &amp;lt;v-btn icon v-on="on" @click="logout"&amp;gt;
            &amp;lt;v-icon&amp;gt;mdi-logout&amp;lt;/v-icon&amp;gt;
          &amp;lt;/v-btn&amp;gt;
        &amp;lt;/template&amp;gt;
        &amp;lt;span&amp;gt;Logout&amp;lt;/span&amp;gt;
      &amp;lt;/v-tooltip&amp;gt;


      &amp;lt;template v-slot:extension&amp;gt;
        &amp;lt;v-tabs align-with-title&amp;gt;
          &amp;lt;router-link
            style="display: flex"
            to="/"&amp;gt;
            &amp;lt;v-tab style="color: white"&amp;gt;Home&amp;lt;/v-tab&amp;gt;
          &amp;lt;/router-link&amp;gt;
          &amp;lt;router-link
            style="display: flex"
            to="/map"&amp;gt;
            &amp;lt;v-tab style="color: white"&amp;gt;Retailers&amp;lt;/v-tab&amp;gt;
          &amp;lt;/router-link&amp;gt;
          &amp;lt;router-link
            style="display: flex"
            to="/reptable"&amp;gt;
            &amp;lt;v-tab style="color: white"&amp;gt;Reps&amp;lt;/v-tab&amp;gt;
          &amp;lt;/router-link&amp;gt;
          &amp;lt;router-link
              style="display: flex"
              to="/zipsearch"&amp;gt;
            &amp;lt;v-tab style="color: white"&amp;gt;Zip Search&amp;lt;/v-tab&amp;gt;
          &amp;lt;/router-link&amp;gt;
        &amp;lt;/v-tabs&amp;gt;
      &amp;lt;/template&amp;gt;

    &amp;lt;/v-app-bar&amp;gt;

    &amp;lt;v-main&amp;gt;
      &amp;lt;router-view/&amp;gt;
    &amp;lt;/v-main&amp;gt;
  &amp;lt;/v-app&amp;gt;
&amp;lt;/template&amp;gt;

&amp;lt;script lang="ts"&amp;gt;
import Vue from 'vue';

export default Vue.extend({
  name: 'App',

  methods: {
    logout() {
      this.$logout();
    }
  },

  async beforeMount() {
    await this.$store.dispatch('JWT');
  }
});
&amp;lt;/script&amp;gt;

&amp;lt;style&amp;gt;
#app{
  background-color: var(--v-background-base) !important;
}

&amp;lt;/style&amp;gt;&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;//MapComponent.vue

&amp;lt;template&amp;gt;
  &amp;lt;div class="mapdiv"&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;/template&amp;gt;

&amp;lt;script lang="ts"&amp;gt;
import Vue from 'vue';
import Map from '@arcgis/core/Map';
import MapView from '@arcgis/core/views/MapView';
import FeatureLayer from '@arcgis/core/layers/FeatureLayer';
import esriConfig from "@arcgis/core/config";


export default Vue.extend({
    name: "RepZipMap",

    async mounted() {
        esriConfig.apiKey = "APIKEY";
        esriConfig.assetsPath = 'https://js.arcgis.com/4.24/@arcgis/core/assets';

        const apiKey = "APIKEY";

        const map = new Map({
          basemap: "arcgis-streets" // Basemap layer service
        });

        const view = new MapView({
          map: map,
          center: [-92.0932, 38.232], // Longitude, latitude
          zoom: 5, // Zoom level
          container: 'mapdiv' // Div element
        });

        const zipLabelClass = {
          labelExpressionInfo: {
            expression: "$feature.ZIP_CODE"
          },
          labelPlacement: "above-center",
        }

        const featureLayer = new FeatureLayer({
          apiKey: "APIKEY",
          url: "https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_Boundaries_2021/FeatureServer/3",
          opacity: 0.4,
        });

        featureLayer.labelingInfo = [ zipLabelClass ];
        map.add(featureLayer);
    }
})
&amp;lt;/script&amp;gt;

&amp;lt;style scoped&amp;gt;
   @import '../main.css';
&amp;lt;/style&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 16:05:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-not-displaying-on-vue-2-with-typescript-and-es/m-p/1199447#M78175</guid>
      <dc:creator>MollyWhitener</dc:creator>
      <dc:date>2022-08-04T16:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Map Not Displaying on Vue 2 with TypeScript and ES Modules</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-not-displaying-on-vue-2-with-typescript-and-es/m-p/1199470#M78176</link>
      <description>&lt;P&gt;Can you break this down to simpler reproducible sample without routing, auth and environment variables in a github repo? Can't tell from what you've posted.&lt;/P&gt;&lt;P&gt;Only Vue2 app I have is this one, but it's a few years old and not sure it works anymore. It could be something in the dependencies or some other unknown.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/odoe/jsapi-vue-template" target="_blank"&gt;https://github.com/odoe/jsapi-vue-template&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 16:36:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-not-displaying-on-vue-2-with-typescript-and-es/m-p/1199470#M78176</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-08-04T16:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Map Not Displaying on Vue 2 with TypeScript and ES Modules</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-not-displaying-on-vue-2-with-typescript-and-es/m-p/1199516#M78178</link>
      <description>&lt;P&gt;Okay, I tried doing a very simple version as well, and it doesn't work here either.&lt;BR /&gt;&lt;A href="https://github.com/mollyjw/ARCGis-Vue2" target="_blank"&gt;https://github.com/mollyjw/ARCGis-Vue2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I guess I will just try to do Esri Leaflet instead of the JS API.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 17:36:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-not-displaying-on-vue-2-with-typescript-and-es/m-p/1199516#M78178</guid>
      <dc:creator>MollyWhitener</dc:creator>
      <dc:date>2022-08-04T17:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Map Not Displaying on Vue 2 with TypeScript and ES Modules</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-not-displaying-on-vue-2-with-typescript-and-es/m-p/1199536#M78179</link>
      <description>&lt;P&gt;Do you need to have the assets copied locally? Looks like something in the build is causing an issue there. You can remove the config.assetsPath part and load the assets from the CDN. Everything seems to work after that.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 18:08:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-not-displaying-on-vue-2-with-typescript-and-es/m-p/1199536#M78179</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-08-04T18:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Map Not Displaying on Vue 2 with TypeScript and ES Modules</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-not-displaying-on-vue-2-with-typescript-and-es/m-p/1199545#M78180</link>
      <description>&lt;P&gt;I tried it without copying the assets, and I just got a blank page. Are you seeing something?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 18:26:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-not-displaying-on-vue-2-with-typescript-and-es/m-p/1199545#M78180</guid>
      <dc:creator>MollyWhitener</dc:creator>
      <dc:date>2022-08-04T18:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Map Not Displaying on Vue 2 with TypeScript and ES Modules</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-not-displaying-on-vue-2-with-typescript-and-es/m-p/1199546#M78181</link>
      <description>&lt;P&gt;Make these changes in your vue file. Your MapView was referencing the div className, and it had no id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;&amp;lt;div id="viewDiv" class="mapdiv"&amp;gt;&amp;lt;/div&amp;gt;

const view = new MapView({
    map: map,
    container: "viewDiv",
    center: [-118.244, 34.052],
    zoom: 12
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; You might also need to change the browserlist in the package.json. This is what we support.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;  "browserslist": [
    "last 1 Chrome version",
    "last 1 Firefox version",
    "last 2 Edge major versions",
    "last 2 Safari major versions",
    "last 2 iOS major versions",
    "Firefox ESR"
  ]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Plus, I don't the assets are copied correctly in a production build, they should be in the public folder to get copied in a build, but if you don't use local assets, you don't need to worry about it.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 18:33:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-not-displaying-on-vue-2-with-typescript-and-es/m-p/1199546#M78181</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-08-04T18:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Map Not Displaying on Vue 2 with TypeScript and ES Modules</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-not-displaying-on-vue-2-with-typescript-and-es/m-p/1199551#M78182</link>
      <description>&lt;P&gt;OH MY GOSH YOU'RE A GENIUS!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't realize it had to be an id; I thought it was a class.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you thank you so much!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 18:39:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-not-displaying-on-vue-2-with-typescript-and-es/m-p/1199551#M78182</guid>
      <dc:creator>MollyWhitener</dc:creator>
      <dc:date>2022-08-04T18:39:31Z</dc:date>
    </item>
  </channel>
</rss>

