vike-vue icon indicating copy to clipboard operation
vike-vue copied to clipboard

feat: new [components `<Head>` and `<Config>`](https://vike.dev/useConfig#config-head)

Open brillout opened this issue 1 year ago • 1 comments

Is it possible to implement the <Config> and <Head> components for Vue?

How can the children be "accessed" so that we can pass it to useConfig({ Head })?

Directly using useConfig() does work, see this example. So the only thing missing is to be able to "access" the children of <Head>. Vue seems to work in terms of slots, not in terms of children; I don't know how we can "pass the children" with Vue.

Contribution welcome :green_heart:

brillout avatar Aug 08 '24 13:08 brillout