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 }]
})