Skip to content

How to use/configure @vueuse/head #169

Discussion options

You must be logged in to vote

Looks like I wasn't doing the correct way :/
Now with the correct implementation is working fine

import { createPinia } from 'pinia';
import { createHead } from '@vueuse/head';
import { defineSetupVue3 } from 'histoire/client';

export const setupVue3 = defineSetupVue3(({ app, story, variant }) => {
    const pinia = createPinia()
    const head = createHead()
    app.use(pinia)
    app.use(head)
})

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by victorlmneves
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant