Skip to content

Commit

Permalink
docs: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mitjans committed Nov 15, 2023
1 parent 3f71d4b commit 8694958
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/1.getting-started/2.options.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,15 @@ export default defineNuxtConfig({

- Default: `false`

This options adds the utility function `tw` that will provide intellisense suggestions in Js/Ts strings if the [Tailwind CSS IntelliSense](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss) extension is installed. For this to work, you will have to add the following VSCode setting:
This options adds the utility function `tw` that will provide IntelliSense suggestions in Js/Ts strings if the [Tailwind CSS IntelliSense](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss) extension is installed. For this to work, you will have to add the following VSCode setting:

```json [settings.json]
{
"tailwindCSS.experimental.classRegex": ["tw`([^`]*)", "tw\\('([^'\\)]*)"],
}
```

Once modified, the new utility function can be used as follows, providing intellisense suggestions when writing Tailwind classes:
Once modified, the new utility function can be used as follows, providing IntelliSense suggestions when writing Tailwind classes:

```vue [index.vue]
<script setup lang="ts">
Expand Down

0 comments on commit 8694958

Please sign in to comment.