N
Nuxt2y ago
Thr0nSK

Nuxt extends doesn't work

Hi, I'm trying to use extends to auto import components from another nuxt project in a different directory, however, no matter what I do, I cannot get it to work. When the project I'm extending has any module, I get an error that it could not find the module. When I try to extend a simple nuxt project with only 1 component, I don't get an error but I cannot use the component inside the project that is extending it. This is what the nuxt.config.ts file looks in the project that is extending the base one:
export default defineNuxtConfig({
extends: [
"../test-extend",
],
})
export default defineNuxtConfig({
extends: [
"../test-extend",
],
})
Am I doing something wrong? I've even tried extending a github repo, for example:
export default defineNuxtConfig({
extends: [
"github:antfu/vitesse-nuxt3",
],
})
export default defineNuxtConfig({
extends: [
"github:antfu/vitesse-nuxt3",
],
})
And I got an error that it could not find the VueUse module...
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server