Skip to content

Commit

Permalink
doc: better migration doc
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Sep 13, 2023
1 parent fdbeb35 commit 45d0e24
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ The `@vueuse/head` package will continue to receive bug fixes and security updat

## Migrating to Unhead from @vueuse/head

```ts
pnpm remove @vueuse/head
pnpm add @unhead/vue
```

Replace all imports of `@vueuse/head` with `@unhead/vue`.

If you're using the `<Head>` component you will need to import it from `@unhead/vue/components`.
Expand Down

0 comments on commit 45d0e24

Please sign in to comment.