Nuxt 4 introduces several new features and improvements, including performance and API consistency improvements. Codemod supports a mostly automated Nuxt 4 upgrade experience. This page provides tips and resources you may need for a successful migration.Documentation Index
Fetch the complete documentation index at: https://docs.codemod.com/llms.txt
Use this file to discover all available pages before exploring further.
Getting started
Nuxt 4 Upgrade Guide
Nuxt 4 Upgrade Recipe
Migration Steps
Opt in to Nuxt 4
- Upgrade to the latest version of Nuxt:
- Set
compatibilityVersionto match Nuxt 4 behavior:nuxt.config.ts
Run migration codemods
- nuxt/4/absolute-watch-paths
- nuxt/4/default-data-error-value
- nuxt/4/deprecated-dedupe-value
- nuxt/4/file-structure
- nuxt/4/shallow-data-reactivity