Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
Closes #100
  • Loading branch information
ianwijma committed Oct 4, 2021
1 parent b7df420 commit 2f848b6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions readme.md
Expand Up @@ -177,6 +177,21 @@ import {tailwind} from '../../../tailwind';
// After
import {tailwind} from 'tailwind';
```
## TailwindCSS intellisense

### VSCode

To have full TailwindCSS support including support for a custom TailwindCSS config. Install the [Tailwind CSS IntelliSense](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss).

Once installed you need to add the following line to your settings.json file:

```json
/* TailwindCSS */
"tailwindCSS.experimental.classRegex": ["tailwind\\('([^)]*)\\')", "'([^']*)'"]
```

To ensure this to work, make sure you have atleast `v0.5.1` installed of the Tailwind CSS IntelliSense addon. [ref](https://github.com/tailwindlabs/tailwindcss-intellisense/issues/129#issuecomment-735915659)


## API

Expand Down

0 comments on commit 2f848b6

Please sign in to comment.