payload-plugin-body-classname
v0.3.0
Published
<a href="LICENSE"> <img src="https://img.shields.io/badge/license-MIT-brightgreen.svg" alt="Software License" /> </a> <a href="https://github.com/thgh/payload-plugin-body-classname/issues"> <img src="https://img.shields.io/github/issues/thgh/payload-p
Downloads
26
Readme
Add the collection slug to the body classname in Payload CMS admin for easy styling
Features
- Adds the collection slug to the body on the List & Edit page
Installation
npm install payload-plugin-body-classname
# or
yarn add payload-plugin-body-classname
Usage
// payload.config.ts
import { bodyClassname } from 'payload-plugin-body-classname'
export default buildConfig({
plugins: [bodyClassname],
})
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Contributions and feedback are very welcome.
To get it running:
- Clone the project.
npm install
npm run build
Credits
License
The MIT License (MIT). Please see License File for more information.