@ossph/temple-tailwind
v0.1.7
Published
Webpack support for the Temple markup language.
Downloads
4
Readme
⛩️ Temple Tailwind
This package is designed for Temple, the reactive web component template engine. See docs for more information.
TailwindCSS support for the Temple markup language.
Install
$ npm -i @ossph/temple-tailwind
Usage
import temple from '@ossph/temple/compiler';
import { tailwind } from '@ossph/temple-tailwind';
//create temple compiler
const compiler = temple({ cwd: __dirname });
//and use tailwind...
compiler.use(tailwind({
darkMode: 'class',
theme: { extend: {} },
plugins: [],
content: []
}));