Nightly Release Channel
Nuxt lands commits, improvements, and bug fixes every day. You can opt in to test them earlier before the next release.
After a commit is merged into the main
branch of nuxt/nuxt and passes all tests, we trigger an automated npm release, using GitHub Actions.
You can use these 'nightly' releases to beta test new features and changes.
The build and publishing method and quality of these 'nightly' releases are the same as stable ones. The only difference is that you should often check the GitHub repository for updates. There is a slight chance of regressions not being caught during the review process and by the automated tests. Therefore, we internally use this channel to double-check everything before each release.
latest
nightly release channel is currently tracking the Nuxt v4 branch, meaning that it is particularly likely to have breaking changes right now - be careful!You can opt in to the 3.x branch nightly releases with "nuxt": "npm:nuxt-nightly@3x"
.Opting In
Update nuxt
dependency inside package.json
:
{
"devDependencies": {
-- "nuxt": "^3.0.0"
++ "nuxt": "npm:nuxt-nightly@latest"
}
}
Remove lockfile (package-lock.json
, yarn.lock
, pnpm-lock.yaml
, or bun.lockb
) and reinstall dependencies.
Opting Out
Update nuxt
dependency inside package.json
:
{
"devDependencies": {
-- "nuxt": "npm:nuxt-nightly@latest"
++ "nuxt": "^3.0.0"
}
}
Remove lockfile (package-lock.json
, yarn.lock
, pnpm-lock.yaml
, or bun.lockb
) and reinstall dependencies.
Using Nightly nuxi
nuxi
package size. You can get dependency updates and CLI improvements using the nightly release channel.
To try the latest version of nuxt/cli:
npx nuxi-nightly@latest [command]
Runtime Config
Nuxt provides a runtime config API to expose configuration and secrets within your application.
Custom Routing
In Nuxt 3, your routing is defined by the structure of your files inside the pages directory. However, since it uses vue-router under the hood, Nuxt offers you several ways to add custom routes in your project.