Migrate from Nuxt 2 to Nuxt 3
Nuxt 3 is a complete rewrite of Nuxt 2, and also based on a new set of underlying technologies. That means there will be significant changes when migrating a Nuxt 2 app to Nuxt 3, although you can expect migration to become more straightforward as we move toward a stable release.
Some of these significant changes include:
- Moving from Vue 2 to Vue 3, including defaulting to the Composition API and script setup.
- Moving from webpack 4 and Babel to Vite or webpack 5 and esbuild.
- Moving from a runtime Nuxt dependency to a minimal, standalone server compiled with nitropack.