unplugin / unplugin-vue-markdown

Compile Markdown to Vue component
MIT License
508 stars 27 forks source link

Error with `headEnabled = true`: `@vueuse/head` missing #31

Closed NamesMT closed 10 months ago

NamesMT commented 10 months ago

Describe the bug

Following the docs, installing @unhead/vue and set headEnabled to true will results in @vueuse/head missing.
Inspecting the code, headEnabled should be set to 'unhead' instead to use @unhead/vue.
Referrenced code: src/core/markdown.ts#L186

Either change the docs or Line 186 and we should be good.

Reproduction

.

System Info

any

Used Package Manager

pnpm

Validations