@spices/ginger-body
v1.0.3
Published
Customize the body from the GingerView instance
Downloads
3
Maintainers
Readme
Ginger Body Plugin
Allows the alteration of the HTML body directly from the ginger views. e.g. Change the bodyClass of the document based on dynamically loaded data
Setup
- Install the plugin
yarn add @spices/ginger-body
- Declare the plugin
import { GingerBodyPlugin } from '@spices/ginger-body'
app.use(VueGinger, {
plugins: [{ optins: {}, plugin: GingerBodyPlugin }]
})