Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What's new?
target: static
and full static usingnuxt export
.env
support andruntimeConfig
Also don't miss nuxt/content and nuxt-composition-api ;)
🚀 Features
general
createRequire
option and disable esm for jest #7476createRequire
option and disable esm for jestexport
togenerate
#7399, fix(generator): keep generating pages in SPA #7400, refactor: inline staticAssetsBase in state chunk for full-static #7401, fix(generator): respectoptions.router.trailingSlash
for crawler #7431, fix: handle router.base for crawler and serve #7486, fix(generator): handle nuxt build --no-build #7523, fix(generator): encode routes and show error summary #7518)cli
generator
export:page
hook #7455 Allow excluding exported pages usingexport:page
hookexport:route
hook andsetPayload
#7422export:route
hook andsetPayload
webpack
mjs
tobabel-loader
config
.nuxtrc
#7430 Support.nuxtrc
ssr
server
render:beforeResponse
hookreport-uri
modern
vue-app
vue-renderer
<base>
meta for spa #7170 Add head<base>
meta for sparenderContext
tovue-renderer:ssr:templateParams
hook #7168 PassrenderContext
tovue-renderer:ssr:templateParams
hookbabel-preset-app
bugfixes
option #7144 Addbugfixes
optionbuilder
.nuxtignore
#7132 Ignore option to function the same as.nuxtignore
🐛 Bug Fixes
core
general
webpack
unsafe-eval
script policy #7305 Use non-eval sourcemap with csp andunsafe-eval
script policyvue-app
redirect
no longer strips trailing slash from URL (fix(vue-app):redirect
no longer strips trailing slash from URL #7475, fix(vue-app): not strip trailing slash for redirect external domain #7533)sanitizeComponent
import regression with features disabled #7271sanitizeComponent
import regression with features disabledsplitChunks.layout
#7139 Sanitize layouts after resolve forsplitChunks.layout
generator
modern
vue-renderer
generator, builder
babel
server
💅 Refactors
general
config
build.crossorigin
torender.crossorigin
#7187 Movebuild.crossorigin
torender.crossorigin
📝 Examples
with-buefy
🏡 Chore
cli
nuxt generate --no-build
#6031, chore(cli): enhance generate no-build description (#6031) #7460 Enhance generate no-build descriptiongeneral
renovate
@types/terser-webpack-plugin
pkg
dep
html-webpack-plugin
to v4test
vue-test-utils
to v1benchmark
package.json
scriptsexample
👓 Tests
general
jest
to v26💙 Types
general
@nuxt/types
to nuxt mono-repo #7432 Move@nuxt/types
to nuxt mono-repo💖 Thanks to