preact-cli-tailwind

3.0.0 • Public • Published

Preact CLI Tailwind CSS Plugin

npm

Adds Tailwind CSS to Preact CLI.

Tailwind is added as a PostCSS Plugin.

Usage

npm i preact-cli-tailwind tailwindcss --save-dev

# OR

yarn add preact-cli-tailwind tailwindcss --dev

In your preact.config.js:

const tailwind = require("preact-cli-tailwind");

module.exports = (config, env, helpers) => {
  config = tailwind(config, env, helpers);
  return config;
};

API

Pass in config, env and helpers as forwarded from config.

Contributing

PRs Welcome.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.1-00alpha
3.0.013latest

Version History

VersionDownloads (Last 7 Days)Published
3.0.013
2.0.11
2.0.00
1.0.10
1.0.00
0.1.00
0.0.20
0.0.10
0.0.1-00

Package Sidebar

Install

npm i preact-cli-tailwind

Weekly Downloads

14

Version

3.0.0

License

MIT

Unpacked Size

3.33 kB

Total Files

4

Last publish

Collaborators

  • agney