Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexandremasy/spices-ginger-body


https://github.com/alexandremasy/spices-ginger-body

Last synced: about 1 hour ago
JSON representation

Awesome Lists containing this project

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

1. Install the plugin

```
yarn add @spices/ginger-body
```

2. Declare the plugin

```
import { GingerBodyPlugin } from '@spices/ginger-body'

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