devtools icon indicating copy to clipboard operation
devtools copied to clipboard

feat: nuxt v3 to v4 wizzard

Open arashsheyda opened this issue 1 year ago â€ĸ 3 comments

🆒 Your use case

should we add the option to migrate a nuxt 3 project to nuxt 4?

🆕 The solution you'd like

using the codemod script in devtools wizard to migrate it and eventually show an alert to user when Nuxt 4 is fully out?

🔍 Alternatives you've considered

No response

â„šī¸ Additional info

No response

arashsheyda avatar Dec 03 '24 06:12 arashsheyda

I like the idea but I am also a bit worried about the UX. It would be great to do one-click migration in the UI, but I am afraid that for most of the cases, it would still requires manually changes, which we couldn't handle in the UI. In that case I feel it might be better to ask them to run the command manually where they would also have more controls. For us, we could provide a tip message for people to read the migration guide on the docs site. WDYT?

antfu avatar Dec 03 '24 07:12 antfu

yes that sounds good! should we implement it when Nuxt 4 is fully out or...

arashsheyda avatar Dec 03 '24 07:12 arashsheyda

Yeah, we could wait, I think. The main traffic of the migration would be the release announcement anyway, our tip would only be a small supplement.

antfu avatar Dec 03 '24 08:12 antfu