1.0.3 • Published 4 years ago

@spices/ginger-body v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

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

  1. Install the plugin
yarn add @spices/ginger-body
  1. Declare the plugin
import { GingerBodyPlugin } from '@spices/ginger-body'

app.use(VueGinger, {
  plugins: [{ optins: {}, plugin: GingerBodyPlugin }]
})