Tom
Tom
NNuxt
Created by Tom on 1/20/2025 in #❓・help
App.vue overwritten by layer after adding @nuxt/content@3
Hi, all. When adding @nuxt/content (3) to my app, the app.vue is not used anymore breaking my entire app. Furthermore, the index.vue is also not used and instead the index.vue out of one of my layers is used. This is my package.json:
{
"name": "nuxt-app",
"type": "module",
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev --envName local",
"generate": "nuxt generate --envName local",
"preview": "nuxt preview --envName local",
"postinstall": "nuxt prepare --envName local",
"lint": "eslint .",
},
"workspaces": [
"./",
"./layers/base",
"./layers/image",
"./layers/document"
],
"dependencies": {
"@nuxt/content": "^3.0.0",
"@nuxt/scripts": "^0.9.5",
"@nuxtjs/seo": "2.1.0",
"@vite-pwa/nuxt": "^0.10.6",
"nuxt": "^3.15.1",
"swetrix": "^3.5.3",
"@nuxt/ui": "^3.0.0-alpha.11",
"@vueuse/core": "12.0.0",
"@vueuse/nuxt": "12.0.0"
"vue": "latest",
"vue-router": "latest"
},
"devDependencies": {
"@iconify-json/heroicons": "^1.2.1",
"@iconify-json/lucide": "^1.2.16",
"@iconify-json/material-symbols": "^1.2.5",
"@iconify-json/simple-icons": "^1.2.9",
},
"overrides": {
"@nuxt/ui": "^3.0.0-alpha.11",
"@vueuse/core": "12.0.0",
"@vueuse/nuxt": "12.0.0"
}
}
{
"name": "nuxt-app",
"type": "module",
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev --envName local",
"generate": "nuxt generate --envName local",
"preview": "nuxt preview --envName local",
"postinstall": "nuxt prepare --envName local",
"lint": "eslint .",
},
"workspaces": [
"./",
"./layers/base",
"./layers/image",
"./layers/document"
],
"dependencies": {
"@nuxt/content": "^3.0.0",
"@nuxt/scripts": "^0.9.5",
"@nuxtjs/seo": "2.1.0",
"@vite-pwa/nuxt": "^0.10.6",
"nuxt": "^3.15.1",
"swetrix": "^3.5.3",
"@nuxt/ui": "^3.0.0-alpha.11",
"@vueuse/core": "12.0.0",
"@vueuse/nuxt": "12.0.0"
"vue": "latest",
"vue-router": "latest"
},
"devDependencies": {
"@iconify-json/heroicons": "^1.2.1",
"@iconify-json/lucide": "^1.2.16",
"@iconify-json/material-symbols": "^1.2.5",
"@iconify-json/simple-icons": "^1.2.9",
},
"overrides": {
"@nuxt/ui": "^3.0.0-alpha.11",
"@vueuse/core": "12.0.0",
"@vueuse/nuxt": "12.0.0"
}
}
I'm using bun if that's of any help. When removing nuxt content from the modules array, the problem disappears. Has anybody had a similar experience or a clue on where i could look (logs etc) to find a solution to this issue? Thanks a lot ❤️
29 replies