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

https://github.com/thgh/payload-plugin-body-classname


https://github.com/thgh/payload-plugin-body-classname

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

# Add the collection slug to the body classname in Payload CMS admin for easy styling


Software License


Issues


NPM

## 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

```js
// payload.config.ts
import { bodyClassname } from 'payload-plugin-body-classname'

export default buildConfig({
plugins: [bodyClassname],
})
```

## Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

## Contributing

Contributions and feedback are very welcome.

To get it running:

1. Clone the project.
2. `npm install`
3. `npm run build`

## Credits

- [Thomas Ghysels](https://github.com/thgh)
- [All Contributors][link-contributors]

## License

The MIT License (MIT). Please see [License File](LICENSE) for more information.

[link-contributors]: ../../contributors