@spices/ginger-head
v1.0.1
Published
Customize the head from the GingerView instance
Downloads
4
Maintainers
Readme
Ginger Head Plugin
Allows the alteration of the HTML header directly from the ginger views. e.g. Change the title of the document based on dynamically loaded data
Setup
- Install the plugin
yarn add @spices/ginger-head
- Declare the plugin
import { GingerHeadPlugin } from '@spices/ginger-head'
let opts = {
key: 'ABC'
}
app.use(VueGinger, {
plugins: [{ optins: opts, plugin: GingerHeadPlugin }]
})