[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2025-02-14 07:23:11 +00:00 committed by GitHub
parent 071a11fbca
commit b84924ccf8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 [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. for lower-level APIs.
- Removed props: `vmid`, `hid`, `children`, `body`. * Removed props: `vmid`, `hid`, `children`, `body`.
- Promise input no longer supported. * Promise input no longer supported.
- Tags are now sorted using Capo.js by default. * Tags are now sorted using Capo.js by default.
##### Migration Steps ##### Migration Steps
@ -264,7 +264,7 @@ The above changes should have minimal impact on your app.
If you have issues you should verify: 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 ```diff
useHead({ 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 ```ts
import { TemplateParamsPlugin, AliasSortingPlugin } from '@unhead/vue/plugins' import { TemplateParamsPlugin, AliasSortingPlugin } from '@unhead/vue/plugins'