Skip to content
Open
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
20 changes: 8 additions & 12 deletions pages/docs/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ To enable autocompletion for **Tailwind Variants** you can follow the instructio

```json copy
{
"tailwindCSS.classFunctions": ["tv"]
"classFunctions": ["tv"]
}
```

Expand Down Expand Up @@ -210,12 +210,7 @@ To enable autocompletion for **Tailwind Variants** you can follow the instructio
If you are using **IntelliJ** and the [**Tailwind CSS Plugin**](https://plugins.jetbrains.com/plugin/15321-tailwind-css), go to **settings** -> **Languages & Frameworks** -> **Style Sheets** -> **Tailwind CSS** and add the following to the configuration.

```json copy
"experimental": {
"configFile": null,
"classRegex": [
["(`.*?`)", "(\".*?\")", "('.*?')"]
]
}
"tailwindCSS.classFunctions": ["tv"]
```

</Tab>
Expand All @@ -227,11 +222,12 @@ If you are using [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/p
to sort your class names, you can add `tv` to the list of functions that
should be sorted.

```js
module.exports = {
plugins: [require('prettier-plugin-tailwindcss')],
tailwindFunctions: ['tv']
};
```json
// .prettierrc
"plugins": [
"prettier-plugin-tailwindcss"
],
"tailwindFunctions": ["tv"]
```

## Contributing
Expand Down