@stackhackerio/classless

0.0.6 • Public • Published

@stackhackerio/classless

Your Tailwind CSS Plugin Description

Install the plugin from npm:

$ npm install tailwindcss-classless

Then add the plugin to your tailwind.config.js file:

// tailwind.config.js
module.exports = {
  theme: {
    // ...
    // Optional. Your plugin might not have any options at all.
    classless: {
      // ...
      YOUR_PLUGIN_CUSTOM_OPTION: true,
      // ...
    },
  },
  variants: {
    // ...
    // Optional. Your plugin might not have any variants at all.
    classless: ['responsive'],
    // ...
  },
  plugins: [
    // ...
    require('tailwindcss-classless'),
    // ...
  ],
}

This plugin will generate following CSS:

/* ... */
.example-utility-class {
  display: block;
}

.custom-utility-class {
  background-color: red;
}
/* ... */

License

tailwindcss-classless is licensed under the MIT License.

Credits

Created with create-tailwind-plugin.

Dependencies (0)

    Dev Dependencies (20)

    Package Sidebar

    Install

    npm i @stackhackerio/classless

    Weekly Downloads

    1

    Version

    0.0.6

    License

    MIT

    Unpacked Size

    26.3 kB

    Total Files

    22

    Last publish

    Collaborators

    • hirotaka