Nuxt 3 to Nuxt 4
I'm trying to update my project but with codemod it does nothing, maybe because i already have a src/ in my project structure:
It just created an empty app/ folder,
Here is my current structure: ( see capture 1)
And my nuxt.config.js is like that: ( see capture 2 )
I can do it manually but i don't understand what should i move from src/ to app/
I would say assets/, components/, composables/, layouts/, middleware/, pages/, plugins/, stores/ and utils/ goes to app/
And what i need to put to rootDir is the lefts one from src ? public/ and stores/ and app.config.ts and app.vue ?
What should my nuxt.config.ts should looks like by doing this ?
@manniL
It just created an empty app/ folder,
Here is my current structure: ( see capture 1)
And my nuxt.config.js is like that: ( see capture 2 )
I can do it manually but i don't understand what should i move from src/ to app/
I would say assets/, components/, composables/, layouts/, middleware/, pages/, plugins/, stores/ and utils/ goes to app/
And what i need to put to rootDir is the lefts one from src ? public/ and stores/ and app.config.ts and app.vue ?
What should my nuxt.config.ts should looks like by doing this ?
@manniL

