Originally published at https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.1
🐣 3.0.0-rc.1
"Mount Hope"
Release Announcement
🚀 Check out the Announcing Nuxt 3 Release Candidate for more information about this release!
Migrating from nuxt3
edge releases
If you are already a beta tester of nuxt using nuxt3
package, please follow the steps below to use RC.1:
-
Check out Breaking changes tracker to apply any of the previous possible breaking changes on edge-channel.
-
Remove
.nuxt
,package.lock.json
,yarn.lock
andnode_modules
-
Update
nuxt.config
to importdefineNuxtConfig
fromnuxt
instead ofnuxt3
:
- import { defineNuxtConfig } from 'nuxt3'
+ import { defineNuxtConfig } from 'nuxt'
export default defineNuxtConfig({ ... })
- Update
package.json
{
"devDependencies": {
- "nuxt3": "latest"
+ "nuxt": "^3.0.0-rc.1"
}
}
Alternatively, you can use "nuxt": "npm:nuxt3@latest"
to keep using the latest edge releases of Nuxt 3.
Migration for module authors
For Nuxt 3 modules created by new module-builder toolchain, also update @nuxt/kit
dependency to use RC.1 in package.json
:
{
"dependencies": {
- "@nuxt/kit": "npm:@nuxt/kit-edge@latest"
+ "@nuxt/kit": "^3.0.0-rc.1"
}
}