fix resolve alias for v-mapbox

This commit is contained in:
Ulf Gebhardt 2026-01-16 22:06:20 +01:00
parent b890b525e5
commit 1df2743eac
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -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