irontail
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

irontail

TypeScript Language Service Plugin to make classNames() type-safe for Tailwind.css

PoC

How to use

// npm
npm i --save-dev irontail

// yarn
yarn add -D irontail

Just add to tsconfig.json

"plugins": [
  {
    "name": "irontail",
  }
]

Why ?

Q. There is already muhammadsammy/tailwindcss-classnames. Why is this plugin useful?

A. irontail just provides error checker out of the box, instead of type generator.

When you use type generator,

References

Readme

Keywords

none

Package Sidebar

Install

npm i irontail

Weekly Downloads

4

Version

0.2.0

License

MIT

Unpacked Size

3.57 MB

Total Files

25

Last publish

Collaborators

  • fsubal1102