This commit is contained in:
Daniel Roe 2023-01-24 16:47:20 +00:00 committed by GitHub
parent 1d9eef401a
commit c552d1b420
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 20 additions and 24 deletions

View File

@ -245,8 +245,6 @@ This feature only works with Nuxt auto-imports and `#components` imports. Explic
### Standalone server components ### Standalone server components
::StabilityEdge
Standalone server components will always be rendered on the server. When their props update, this will result in a network request that will update the rendered HTML in-place. Standalone server components will always be rendered on the server. When their props update, this will result in a network request that will update the rendered HTML in-place.
Server components are currently experimental and in order to use them, you need to enable the 'component islands' feature in your nuxt.config: Server components are currently experimental and in order to use them, you need to enable the 'component islands' feature in your nuxt.config:
@ -278,8 +276,6 @@ Now you can register server-only components with the `.server` suffix and use th
</template> </template>
``` ```
::
### Paired with a `.client` component ### Paired with a `.client` component
In this case, the `.server` + `.client` components are two 'halves' of a component and can be used in advanced use cases for separate implementations of a component on server and client side. In this case, the `.server` + `.client` components are two 'halves' of a component and can be used in advanced use cases for separate implementations of a component on server and client side.

View File

@ -1,6 +1,6 @@
{ {
"name": "@nuxt/kit", "name": "@nuxt/kit",
"version": "3.0.0", "version": "3.1.0",
"repository": "nuxt/nuxt", "repository": "nuxt/nuxt",
"license": "MIT", "license": "MIT",
"type": "module", "type": "module",
@ -13,7 +13,7 @@
"prepack": "unbuild" "prepack": "unbuild"
}, },
"dependencies": { "dependencies": {
"@nuxt/schema": "3.0.0", "@nuxt/schema": "3.1.0",
"c12": "^1.1.0", "c12": "^1.1.0",
"consola": "^2.15.3", "consola": "^2.15.3",
"defu": "^6.1.1", "defu": "^6.1.1",

View File

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

View File

@ -1,6 +1,6 @@
{ {
"name": "nuxt", "name": "nuxt",
"version": "3.0.0", "version": "3.1.0",
"repository": "nuxt/nuxt", "repository": "nuxt/nuxt",
"license": "MIT", "license": "MIT",
"type": "module", "type": "module",
@ -37,11 +37,11 @@
}, },
"dependencies": { "dependencies": {
"@nuxt/devalue": "^2.0.0", "@nuxt/devalue": "^2.0.0",
"@nuxt/kit": "3.0.0", "@nuxt/kit": "3.1.0",
"@nuxt/schema": "3.0.0", "@nuxt/schema": "3.1.0",
"@nuxt/telemetry": "^2.1.9", "@nuxt/telemetry": "^2.1.9",
"@nuxt/ui-templates": "^1.1.0", "@nuxt/ui-templates": "^1.1.0",
"@nuxt/vite-builder": "3.0.0", "@nuxt/vite-builder": "3.1.0",
"@unhead/ssr": "^1.0.18", "@unhead/ssr": "^1.0.18",
"@vue/reactivity": "^3.2.45", "@vue/reactivity": "^3.2.45",
"@vue/shared": "^3.2.45", "@vue/shared": "^3.2.45",
@ -62,7 +62,7 @@
"magic-string": "^0.27.0", "magic-string": "^0.27.0",
"mlly": "^1.1.0", "mlly": "^1.1.0",
"nitropack": "^2.0.0", "nitropack": "^2.0.0",
"nuxi": "3.0.0", "nuxi": "3.1.0",
"ofetch": "^1.0.0", "ofetch": "^1.0.0",
"ohash": "^1.0.0", "ohash": "^1.0.0",
"pathe": "^1.0.0", "pathe": "^1.0.0",

View File

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

View File

@ -1,6 +1,6 @@
{ {
"name": "@nuxt/test-utils", "name": "@nuxt/test-utils",
"version": "3.0.0", "version": "3.1.0",
"repository": "nuxt/nuxt", "repository": "nuxt/nuxt",
"license": "MIT", "license": "MIT",
"type": "module", "type": "module",
@ -13,8 +13,8 @@
"prepack": "unbuild" "prepack": "unbuild"
}, },
"dependencies": { "dependencies": {
"@nuxt/kit": "3.0.0", "@nuxt/kit": "3.1.0",
"@nuxt/schema": "3.0.0", "@nuxt/schema": "3.1.0",
"consola": "^2.15.3", "consola": "^2.15.3",
"defu": "^6.1.1", "defu": "^6.1.1",
"execa": "^6.1.0", "execa": "^6.1.0",

View File

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

View File

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