Overview#
I performed a large-scale dependency package update, including a major update from Nuxt 3.2.3 to 3.20.2.
Major Package Updates#
| Package | Before | After |
|---|
| nuxt | 3.2.3 | 3.20.2 |
| @nuxt/content | 2.5.2 | 3.11.0 |
| @nuxtjs/i18n | 8.0.0-beta.10 | 10.2.1 |
| vuetify | 3.1.8 | 3.7.6 |
| sass | 1.58.3 | 1.83.4 |
| @mdi/js | 7.1.96 | 7.4.47 |
Newly Added Packages#
better-sqlite3: ^12.5.0 - Dependency of @nuxt/content v3vue-i18n: ^11.0.0 - Dependency of the i18n module
Changes That Required Action#
1. Migration to @nuxt/content v3#
Creating a new content.config.ts was required.
2. Migration to @nuxtjs/i18n v10#
Changes in nuxt.config.ts#
Creating a new i18n.config.ts#
Moving the locales folder#
locales/ → i18n/locales/
3. Changes to runtimeConfig Access Methods#
4. TypeScript Type Imports#
Reference Links#