mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-23 09:00:31 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
parent
071a11fbca
commit
b84924ccf8
@ -254,9 +254,9 @@ export default defineNuxtConfig({
|
||||
[Unhead](https://unhead.unjs.io/), used to generate `<head>` tags, has been updated to version 2. While mostly compatible it includes several breaking changes
|
||||
for lower-level APIs.
|
||||
|
||||
- Removed props: `vmid`, `hid`, `children`, `body`.
|
||||
- Promise input no longer supported.
|
||||
- Tags are now sorted using Capo.js by default.
|
||||
* Removed props: `vmid`, `hid`, `children`, `body`.
|
||||
* Promise input no longer supported.
|
||||
* Tags are now sorted using Capo.js by default.
|
||||
|
||||
##### Migration Steps
|
||||
|
||||
@ -264,7 +264,7 @@ The above changes should have minimal impact on your app.
|
||||
|
||||
If you have issues you should verify:
|
||||
|
||||
- You're not using any of the removed props.
|
||||
* You're not using any of the removed props.
|
||||
|
||||
```diff
|
||||
useHead({
|
||||
@ -277,7 +277,7 @@ useHead({
|
||||
})
|
||||
```
|
||||
|
||||
- If you're using [Template Params](https://unhead.unjs.io/usage/guides/template-params) or [Alias Tag Sorting](https://unhead.unjs.io/usage/guides/sorting#sort-with-before-and-after), you will need to explicitly opt in to these features now.
|
||||
* If you're using [Template Params](https://unhead.unjs.io/usage/guides/template-params) or [Alias Tag Sorting](https://unhead.unjs.io/usage/guides/sorting#sort-with-before-and-after), you will need to explicitly opt in to these features now.
|
||||
|
||||
```ts
|
||||
import { TemplateParamsPlugin, AliasSortingPlugin } from '@unhead/vue/plugins'
|
||||
|
Loading…
Reference in New Issue
Block a user