Skip to content

Update readme.md #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
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