@nuxt/docs-nightly 4.3.0-29442963.d7846069 → 4.3.0-29443588.75ed55ef
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -134,6 +134,10 @@ const title = ref('Hello World')
|
|
|
134
134
|
|
|
135
135
|
It's suggested to wrap your components in either a `<Head>` or `<Html>` components as tags will be deduped more intuitively.
|
|
136
136
|
|
|
137
|
+
::warning
|
|
138
|
+
If you need to duplicate tags across client-server boundaries, apply a `key` attribute on the `<Head>` component.
|
|
139
|
+
::
|
|
140
|
+
|
|
137
141
|
## Types
|
|
138
142
|
|
|
139
143
|
Below are the non-reactive types used for [`useHead`](/docs/4.x/api/composables/use-head), [`app.head`](/docs/4.x/api/nuxt-config#head) and components.
|
|
@@ -63,7 +63,14 @@ We currently ship an environment for unit testing code that needs a [Nuxt](https
|
|
|
63
63
|
{
|
|
64
64
|
test: {
|
|
65
65
|
name: 'unit',
|
|
66
|
-
include: ['test/
|
|
66
|
+
include: ['test/unit/*.{test,spec}.ts'],
|
|
67
|
+
environment: 'node',
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
test: {
|
|
72
|
+
name: 'e2e',
|
|
73
|
+
include: ['test/e2e/*.{test,spec}.ts'],
|
|
67
74
|
environment: 'node',
|
|
68
75
|
},
|
|
69
76
|
},
|