1.0.1 • Published 3 years ago
@spices/ginger-head v1.0.1
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 }]
})
Configuration
Declare head from the view
Trigger an update from a view
1.0.1
3 years ago