Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexandremasy/spices-ginger-body
https://github.com/alexandremasy/spices-ginger-body
Last synced: about 1 hour ago
JSON representation
- Host: GitHub
- URL: https://github.com/alexandremasy/spices-ginger-body
- Owner: alexandremasy
- License: mit
- Created: 2021-10-04T05:58:44.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-04T06:00:37.000Z (about 3 years ago)
- Last Synced: 2024-11-06T19:55:50.652Z (about 2 months ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
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 }]
})
```