0.4.0 • Published 5 years ago

typescript-tailwindcssinjs-plugin v0.4.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

typescript-tailwindcssinjs-plugin

NPM version License

This package is a typescript language service plugin that adds editor support for @tailwindcssinjs/macro tagged template syntax: tw`...`

Install

# with npm
npm install -D typescript-tailwindcssinjs-plugin

# with Yarn
yarn add -D typescript-tailwindcssinjs-plugin

Usage

Configure the plugins section in your tsconfig.json to add the language service plugin.

{
  "compilerOptions": {
    //compiler options...
    "plugins": [
      {
        "name": "typescript-tailwindcssinjs-plugin",
        "config": "./tailwind.config.js", //tailwind config filepath
        "ignoreErrors": null //regex pattern string or null
      }
    ]
  }
}

Note: If you're using VS Code, you'll have to use the workspace TypeScript version or install the VS Code extension.

License

MIT. Copyright (c) 2020 Arthur Petrie.

0.4.0

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago