Skip to content

thgh/payload-plugin-body-classname

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

// 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:

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

Credits

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published