npm

@spices/ginger-body

1.0.3 • Public • Published

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

Package Sidebar

Install

npm i @spices/ginger-body

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

10.4 kB

Total Files

8

Last publish

Collaborators

  • alexandremasy