Open aleksejssaburovs92 opened 2 months ago
Try adding vuetify as dependency
Adding vuetify in parent project does fixes error, but now it ignores all configuration, like SASS variables
$color-pack: false, $utilities: false,
what's your project structure? I don't see any layer in the configuration nor custom modules
i encountered similar problem, where the base layer locates in the same level of the project extending this layer (instead of layer folder inside the project)
so in the project package.json , does it have to include vuetify-nuxt-module as dependency (base-layer already has included)
nuxtprojects/base-layer/nuxt.config.ts
export default defineNuxtConfig({
modules: ['vuetify-nuxt-module']
})
nuxtprojects/project/nuxt.config.ts
export default defineNuxtConfig({
extends: ['../base-layer']
})
Hello! Tried to use vuetify-nuxt-module in layer and include it in parent project, got error while running yarn dev:
Function that causes error node_modules/.c12/gitlab_ecofinance_frontend_3egwiQ38Rj/node_modules/@vuetify/loader-shared/dist/index.mjs
Parent nuxt config:
Layer nuxt config:
Adding same vuetify-nuxt-module dependency in parent project fixes problem, but it rewrites all layer config.