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