Skip to content

Commit

Permalink
docs: add cx intellisense
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-bell committed Aug 13, 2023
1 parent 7be180f commit 47e8320
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/pages/docs/getting-started/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ You can enable autocompletion inside `cva` using the steps below:
```json
{
"tailwindCSS.experimental.classRegex": [
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
["cx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
]
}
```
Expand All @@ -88,8 +89,8 @@ You can enable autocompletion inside `cva` using the steps below:
tailwindCSS = {
experimental = {
classRegex = {
{ "cva\\(([^)]*)\\)",
"[\"'`]([^\"'`]*).*?[\"'`]" },
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
["cx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
},
},
},
Expand Down

1 comment on commit 47e8320

@vercel
Copy link

@vercel vercel bot commented on 47e8320 Aug 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.