diff --git a/webapp/nuxt.config.js b/webapp/nuxt.config.js index edade8f62..403c6fb5b 100644 --- a/webapp/nuxt.config.js +++ b/webapp/nuxt.config.js @@ -266,6 +266,9 @@ export default { ** You can extend webpack config here */ extend(config, ctx) { + // Fix composition api reference for v-mapbox + config.resolve.alias['@vue/composition-api'] = '@nuxtjs/composition-api' + // Add the compilerOptions ctx.loaders.vue.compilerOptions = { // Add your compilerOptions here