payload-plugin-body-classname
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

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.

/payload-plugin-body-classname/

    Package Sidebar

    Install

    npm i payload-plugin-body-classname

    Weekly Downloads

    9

    Version

    0.3.0

    License

    MIT

    Unpacked Size

    5.7 kB

    Total Files

    5

    Last publish

    Collaborators

    • thgh