mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
v3.0.0-rc.9 (#6970)
This commit is contained in:
parent
ee20a00f65
commit
9caa9ca31f
@ -1,8 +1,5 @@
|
||||
# App Config
|
||||
|
||||
::StabilityEdge
|
||||
::
|
||||
|
||||
Nuxt 3 provides an `app.config` config file to expose reactive configuration within your application with the ability to update it at runtime within lifecycle or using a nuxt plugin and editing it with HMR (hot-module-replacement).
|
||||
|
||||
::alert{type=warning}
|
||||
|
@ -6,9 +6,6 @@ head.title: Nuxt App Config
|
||||
|
||||
# Nuxt App Config
|
||||
|
||||
::StabilityEdge
|
||||
::
|
||||
|
||||
You can easily provide runtime app configuration using `app.config.ts` file. It can have either of `.ts`, `.js`, or `.mjs` extensions.
|
||||
|
||||
```ts [app.config.ts]
|
||||
|
@ -1,8 +1,5 @@
|
||||
# `prefetchComponents`
|
||||
|
||||
::StabilityEdge
|
||||
::
|
||||
|
||||
Nuxt provides composables and utilities to give you fine-grained control over prefetching and preloading components.
|
||||
|
||||
> Prefetching component downloads the code in the background, this is based on the assumption that the component will likely be used for rendering, enabling the component to load instantly if and when the user requests it. The component is downloaded and cached for anticipated future use without the user making an explicit request for it.
|
||||
|
@ -1,8 +1,5 @@
|
||||
# `preloadComponents`
|
||||
|
||||
::StabilityEdge
|
||||
::
|
||||
|
||||
Nuxt provides composables and utilities to give you fine-grained control over prefetching and preloading components.
|
||||
|
||||
> Preloading components loads components that your page will need very soon, which you want to start loading early in rendering lifecycle. This ensures they are available earlier and are less likely to block the page's render, improving performance.
|
||||
|
@ -1,8 +1,5 @@
|
||||
# `updateAppConfig`
|
||||
|
||||
::StabilityEdge
|
||||
::
|
||||
|
||||
Updates [app config](/guide/features/app-config) using deep assignment. Existing (nested) properties will be preserved.
|
||||
|
||||
**Usage:**
|
||||
|
@ -1,8 +1,5 @@
|
||||
# `useAppConfig`
|
||||
|
||||
::StabilityEdge
|
||||
::
|
||||
|
||||
Access [app config](/guide/features/app-config):
|
||||
|
||||
**Usage:**
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "3.0.0-rc.8",
|
||||
"version": "3.0.0-rc.9",
|
||||
"npmClient": "yarn",
|
||||
"useWorkspaces": true,
|
||||
"conventionalCommits": true,
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nuxt/kit",
|
||||
"version": "3.0.0-rc.8",
|
||||
"version": "3.0.0-rc.9",
|
||||
"repository": "nuxt/framework",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
@ -13,7 +13,7 @@
|
||||
"prepack": "unbuild"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nuxt/schema": "3.0.0-rc.8",
|
||||
"@nuxt/schema": "3.0.0-rc.9",
|
||||
"c12": "^0.2.10",
|
||||
"consola": "^2.15.3",
|
||||
"defu": "^6.1.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nuxi",
|
||||
"version": "3.0.0-rc.8",
|
||||
"version": "3.0.0-rc.9",
|
||||
"repository": "nuxt/framework",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
@ -18,8 +18,8 @@
|
||||
"prepack": "unbuild"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nuxt/kit": "3.0.0-rc.8",
|
||||
"@nuxt/schema": "3.0.0-rc.8",
|
||||
"@nuxt/kit": "3.0.0-rc.9",
|
||||
"@nuxt/schema": "3.0.0-rc.9",
|
||||
"@types/clear": "^0",
|
||||
"@types/flat": "^5.0.2",
|
||||
"@types/mri": "^1.1.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nuxt",
|
||||
"version": "3.0.0-rc.8",
|
||||
"version": "3.0.0-rc.9",
|
||||
"repository": "nuxt/framework",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
@ -31,11 +31,11 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@nuxt/devalue": "^2.0.0",
|
||||
"@nuxt/kit": "3.0.0-rc.8",
|
||||
"@nuxt/schema": "3.0.0-rc.8",
|
||||
"@nuxt/kit": "3.0.0-rc.9",
|
||||
"@nuxt/schema": "3.0.0-rc.9",
|
||||
"@nuxt/telemetry": "^2.1.4",
|
||||
"@nuxt/ui-templates": "^0.3.2",
|
||||
"@nuxt/vite-builder": "3.0.0-rc.8",
|
||||
"@nuxt/vite-builder": "3.0.0-rc.9",
|
||||
"@vue/reactivity": "^3.2.38",
|
||||
"@vue/shared": "^3.2.38",
|
||||
"@vueuse/head": "^0.7.9",
|
||||
@ -53,7 +53,7 @@
|
||||
"magic-string": "^0.26.3",
|
||||
"mlly": "^0.5.14",
|
||||
"nitropack": "^0.5.0",
|
||||
"nuxi": "3.0.0-rc.8",
|
||||
"nuxi": "3.0.0-rc.9",
|
||||
"ohash": "^0.1.5",
|
||||
"ohmyfetch": "^0.4.18",
|
||||
"pathe": "^0.3.5",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nuxt/schema",
|
||||
"version": "3.0.0-rc.8",
|
||||
"version": "3.0.0-rc.9",
|
||||
"repository": "nuxt/framework",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nuxt/test-utils",
|
||||
"version": "3.0.0-rc.8",
|
||||
"version": "3.0.0-rc.9",
|
||||
"repository": "nuxt/framework",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
@ -13,8 +13,8 @@
|
||||
"prepack": "unbuild"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nuxt/kit": "3.0.0-rc.8",
|
||||
"@nuxt/schema": "3.0.0-rc.8",
|
||||
"@nuxt/kit": "3.0.0-rc.9",
|
||||
"@nuxt/schema": "3.0.0-rc.9",
|
||||
"defu": "^6.1.0",
|
||||
"execa": "^6.1.0",
|
||||
"get-port-please": "^2.6.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nuxt/vite-builder",
|
||||
"version": "3.0.0-rc.8",
|
||||
"version": "3.0.0-rc.9",
|
||||
"repository": "nuxt/framework",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
@ -13,13 +13,13 @@
|
||||
"prepack": "unbuild"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nuxt/schema": "3.0.0-rc.8",
|
||||
"@nuxt/schema": "3.0.0-rc.9",
|
||||
"@types/cssnano": "^5",
|
||||
"unbuild": "latest",
|
||||
"vue": "3.2.38"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nuxt/kit": "3.0.0-rc.8",
|
||||
"@nuxt/kit": "3.0.0-rc.9",
|
||||
"@rollup/plugin-replace": "^4.0.0",
|
||||
"@vitejs/plugin-vue": "^3.0.3",
|
||||
"@vitejs/plugin-vue-jsx": "^2.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nuxt/webpack-builder",
|
||||
"version": "3.0.0-rc.8",
|
||||
"version": "3.0.0-rc.9",
|
||||
"repository": "nuxt/framework",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
@ -18,7 +18,7 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.18.13",
|
||||
"@nuxt/friendly-errors-webpack-plugin": "^2.5.2",
|
||||
"@nuxt/kit": "3.0.0-rc.8",
|
||||
"@nuxt/kit": "3.0.0-rc.9",
|
||||
"autoprefixer": "^10.4.8",
|
||||
"css-loader": "^6.7.1",
|
||||
"css-minimizer-webpack-plugin": "^4.0.0",
|
||||
@ -57,7 +57,7 @@
|
||||
"webpackbar": "^5.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nuxt/schema": "3.0.0-rc.8",
|
||||
"@nuxt/schema": "3.0.0-rc.9",
|
||||
"@types/lodash-es": "^4.17.6",
|
||||
"@types/pify": "^5.0.1",
|
||||
"@types/webpack-bundle-analyzer": "^4.4.2",
|
||||
|
28
yarn.lock
28
yarn.lock
@ -1648,7 +1648,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@nuxt/kit@workspace:packages/kit"
|
||||
dependencies:
|
||||
"@nuxt/schema": 3.0.0-rc.8
|
||||
"@nuxt/schema": 3.0.0-rc.9
|
||||
"@types/lodash.template": ^4
|
||||
"@types/semver": ^7
|
||||
c12: ^0.2.10
|
||||
@ -1734,8 +1734,8 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@nuxt/test-utils@workspace:packages/test-utils"
|
||||
dependencies:
|
||||
"@nuxt/kit": 3.0.0-rc.8
|
||||
"@nuxt/schema": 3.0.0-rc.8
|
||||
"@nuxt/kit": 3.0.0-rc.9
|
||||
"@nuxt/schema": 3.0.0-rc.9
|
||||
defu: ^6.1.0
|
||||
execa: ^6.1.0
|
||||
get-port-please: ^2.6.1
|
||||
@ -1779,12 +1779,12 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@nuxt/vite-builder@3.0.0-rc.8, @nuxt/vite-builder@workspace:packages/vite":
|
||||
"@nuxt/vite-builder@3.0.0-rc.9, @nuxt/vite-builder@workspace:packages/vite":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@nuxt/vite-builder@workspace:packages/vite"
|
||||
dependencies:
|
||||
"@nuxt/kit": 3.0.0-rc.8
|
||||
"@nuxt/schema": 3.0.0-rc.8
|
||||
"@nuxt/kit": 3.0.0-rc.9
|
||||
"@nuxt/schema": 3.0.0-rc.9
|
||||
"@rollup/plugin-replace": ^4.0.0
|
||||
"@types/cssnano": ^5
|
||||
"@vitejs/plugin-vue": ^3.0.3
|
||||
@ -1831,8 +1831,8 @@ __metadata:
|
||||
dependencies:
|
||||
"@babel/core": ^7.18.13
|
||||
"@nuxt/friendly-errors-webpack-plugin": ^2.5.2
|
||||
"@nuxt/kit": 3.0.0-rc.8
|
||||
"@nuxt/schema": 3.0.0-rc.8
|
||||
"@nuxt/kit": 3.0.0-rc.9
|
||||
"@nuxt/schema": 3.0.0-rc.9
|
||||
"@types/lodash-es": ^4.17.6
|
||||
"@types/pify": ^5.0.1
|
||||
"@types/webpack-bundle-analyzer": ^4.4.2
|
||||
@ -9899,8 +9899,8 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "nuxi@workspace:packages/nuxi"
|
||||
dependencies:
|
||||
"@nuxt/kit": 3.0.0-rc.8
|
||||
"@nuxt/schema": 3.0.0-rc.8
|
||||
"@nuxt/kit": 3.0.0-rc.9
|
||||
"@nuxt/schema": 3.0.0-rc.9
|
||||
"@types/clear": ^0
|
||||
"@types/flat": ^5.0.2
|
||||
"@types/mri": ^1.1.1
|
||||
@ -9982,11 +9982,11 @@ __metadata:
|
||||
resolution: "nuxt@workspace:packages/nuxt"
|
||||
dependencies:
|
||||
"@nuxt/devalue": ^2.0.0
|
||||
"@nuxt/kit": 3.0.0-rc.8
|
||||
"@nuxt/schema": 3.0.0-rc.8
|
||||
"@nuxt/kit": 3.0.0-rc.9
|
||||
"@nuxt/schema": 3.0.0-rc.9
|
||||
"@nuxt/telemetry": ^2.1.4
|
||||
"@nuxt/ui-templates": ^0.3.2
|
||||
"@nuxt/vite-builder": 3.0.0-rc.8
|
||||
"@nuxt/vite-builder": 3.0.0-rc.9
|
||||
"@types/fs-extra": ^9.0.13
|
||||
"@types/hash-sum": ^1.0.0
|
||||
"@vue/reactivity": ^3.2.38
|
||||
@ -10006,7 +10006,7 @@ __metadata:
|
||||
magic-string: ^0.26.3
|
||||
mlly: ^0.5.14
|
||||
nitropack: ^0.5.0
|
||||
nuxi: 3.0.0-rc.8
|
||||
nuxi: 3.0.0-rc.9
|
||||
ohash: ^0.1.5
|
||||
ohmyfetch: ^0.4.18
|
||||
pathe: ^0.3.5
|
||||
|
Loading…
Reference in New Issue
Block a user