This commit is contained in:
Daniel Roe 2023-03-14 13:22:41 +00:00 committed by GitHub
parent 4b2cb52f8a
commit 2ebf5f4c44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 22 additions and 32 deletions

View File

@ -344,8 +344,6 @@ The content will not be included in production builds and tree-shaken.
## `<NuxtClientFallback>` Component
::StabilityEdge
Nuxt provides the `<NuxtClientFallback>` component to render its content on the client if any of its children trigger an error in SSR.
You can specify a `fallbackTag` to make it render a specific tag if it fails to render on the server.
@ -362,8 +360,6 @@ You can specify a `fallbackTag` to make it render a specific tag if it fails to
</template>
```
::
## Library Authors
Making Vue component libraries with automatic tree-shaking and component registration is super easy ✨

View File

@ -7,8 +7,6 @@ description: Use the modules/ directory to automatically register local modules
# Modules Directory
:StabilityEdge
Nuxt scans the `modules/` directory and loads them before starting. It is a good place to place any local modules you develop while building your application.
The auto-registered files patterns are:

View File

@ -70,8 +70,6 @@ const nuxtApp = {
}
```
:StabilityEdge{title="nuxtApp.versions"}
For more details, check out [the source code](https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/app/nuxt.ts).
## Runtime Context vs. Build Context

View File

@ -11,8 +11,6 @@ Nuxt provides a `<NuxtClientFallback>` component to render its content on the cl
This component is experimental and in order to use it you must enable the `experimental.clientFallback` option in your `nuxt.config`.
::
:StabilityEdge{title=NuxtClientFallback}
## Events
- **`@ssr-error`**: Event emitted when a child triggers an error in SSR. Note that this will only be triggered on the server.

View File

@ -124,7 +124,7 @@ defineNuxtLink({
- **activeClass**: A default class to apply on active links. Works the same as [Vue Router's `linkActiveClass` option](https://router.vuejs.org/api/#linkactiveclass). Defaults to Vue Router's default (`"router-link-active"`)
- **exactActiveClass**: A default class to apply on exact active links. Works the same as [Vue Router's `linkExactActiveClass` option](https://router.vuejs.org/api/#linkexactactiveclass). Defaults to Vue Router's default (`"router-link-exact-active"`)
- **prefetchedClass**: A default class to apply to links that have been prefetched.
- **trailingSlash**: An option to either add or remove trailing slashes in the `href`. If unset or not matching the valid values `append` or `remove`, it will be ignored. **This option is currently only available on the [Edge Channel](/docs/guide/going-further/edge-channel/).** <!-- stabilityedge -->
- **trailingSlash**: An option to either add or remove trailing slashes in the `href`. If unset or not matching the valid values `append` or `remove`, it will be ignored.
::LinkExample{link="/docs/examples/routing/nuxt-link"}
::

View File

@ -38,7 +38,7 @@ Hook | Arguments | Description
`kit:compatibility` | `compatibility, issues` | Allows extending compatibility checks.
`ready` | `nuxt` | Called after Nuxt initialization, when the Nuxt instance is ready to work.
`close` | `nuxt` | Called when Nuxt instance is gracefully closing.
`restart` | `{ hard?: boolean }` | To be called to restart the current Nuxt instance. **This hook is currently only available on the [Edge Channel](/docs/guide/going-further/edge-channel/).** <!-- stabilityedge -->
`restart` | `{ hard?: boolean }` | To be called to restart the current Nuxt instance.
`modules:before` | - | Called during Nuxt initialization, before installing user modules.
`modules:done` | - | Called during Nuxt initialization, after installing user modules.
`app:resolve` | `app` | Called after resolving the `app` instance.

View File

@ -1,6 +1,6 @@
{
"name": "@nuxt/kit",
"version": "3.2.3",
"version": "3.3.0",
"repository": "nuxt/nuxt",
"license": "MIT",
"type": "module",
@ -19,7 +19,7 @@
"prepack": "unbuild"
},
"dependencies": {
"@nuxt/schema": "3.2.3",
"@nuxt/schema": "3.3.0",
"c12": "^1.2.0",
"consola": "^2.15.3",
"defu": "^6.1.2",

View File

@ -1,6 +1,6 @@
{
"name": "nuxi",
"version": "3.2.3",
"version": "3.3.0",
"repository": "nuxt/nuxt",
"license": "MIT",
"type": "module",
@ -18,8 +18,8 @@
"prepack": "unbuild"
},
"devDependencies": {
"@nuxt/kit": "3.2.3",
"@nuxt/schema": "3.2.3",
"@nuxt/kit": "3.3.0",
"@nuxt/schema": "3.3.0",
"@types/clear": "^0",
"@types/flat": "^5.0.2",
"@types/mri": "^1.1.1",

View File

@ -1,6 +1,6 @@
{
"name": "nuxt",
"version": "3.2.3",
"version": "3.3.0",
"repository": "nuxt/nuxt",
"license": "MIT",
"type": "module",
@ -61,11 +61,11 @@
},
"dependencies": {
"@nuxt/devalue": "^2.0.0",
"@nuxt/kit": "3.2.3",
"@nuxt/schema": "3.2.3",
"@nuxt/kit": "3.3.0",
"@nuxt/schema": "3.3.0",
"@nuxt/telemetry": "^2.1.10",
"@nuxt/ui-templates": "^1.1.1",
"@nuxt/vite-builder": "3.2.3",
"@nuxt/vite-builder": "3.3.0",
"@unhead/ssr": "^1.1.23",
"@unhead/vue": "^1.1.23",
"@vue/reactivity": "^3.2.47",
@ -86,7 +86,7 @@
"magic-string": "^0.30.0",
"mlly": "^1.2.0",
"nitropack": "~2.3.1",
"nuxi": "3.2.3",
"nuxi": "3.3.0",
"ofetch": "^1.0.1",
"ohash": "^1.0.0",
"pathe": "^1.1.0",

View File

@ -1,6 +1,6 @@
{
"name": "@nuxt/schema",
"version": "3.2.3",
"version": "3.3.0",
"repository": "nuxt/nuxt",
"license": "MIT",
"type": "module",

View File

@ -1,6 +1,6 @@
{
"name": "@nuxt/test-utils",
"version": "3.2.3",
"version": "3.3.0",
"repository": "nuxt/nuxt",
"license": "MIT",
"type": "module",
@ -18,8 +18,8 @@
"prepack": "unbuild"
},
"dependencies": {
"@nuxt/kit": "3.2.3",
"@nuxt/schema": "3.2.3",
"@nuxt/kit": "3.3.0",
"@nuxt/schema": "3.3.0",
"consola": "^2.15.3",
"defu": "^6.1.2",
"execa": "^7.1.0",

View File

@ -1,6 +1,6 @@
{
"name": "@nuxt/vite-builder",
"version": "3.2.3",
"version": "3.3.0",
"repository": "nuxt/nuxt",
"license": "MIT",
"type": "module",
@ -18,13 +18,13 @@
"prepack": "unbuild"
},
"devDependencies": {
"@nuxt/schema": "3.2.3",
"@nuxt/schema": "3.3.0",
"@types/cssnano": "^5.1.0",
"unbuild": "latest",
"vue": "3.2.47"
},
"dependencies": {
"@nuxt/kit": "3.2.3",
"@nuxt/kit": "3.3.0",
"@rollup/plugin-replace": "^5.0.2",
"@vitejs/plugin-vue": "^4.0.0",
"@vitejs/plugin-vue-jsx": "^3.0.0",

View File

@ -1,6 +1,6 @@
{
"name": "@nuxt/webpack-builder",
"version": "3.2.3",
"version": "3.3.0",
"repository": "nuxt/nuxt",
"license": "MIT",
"type": "module",
@ -21,7 +21,7 @@
"dependencies": {
"@babel/core": "^7.21.0",
"@nuxt/friendly-errors-webpack-plugin": "^2.5.2",
"@nuxt/kit": "3.2.3",
"@nuxt/kit": "3.3.0",
"autoprefixer": "^10.4.14",
"css-loader": "^6.7.3",
"css-minimizer-webpack-plugin": "^4.2.2",
@ -60,7 +60,7 @@
"webpackbar": "^5.0.2"
},
"devDependencies": {
"@nuxt/schema": "3.2.3",
"@nuxt/schema": "3.3.0",
"@types/lodash-es": "^4.17.6",
"@types/pify": "^5.0.1",
"@types/webpack-bundle-analyzer": "^4.6.0",