Skip to content

Commit d48ffcf

Browse files
authored
chore(vscode): add tailwindcss extensions (unovue#810)
* chore(vscode): add tailwindcss extensions * chore: add tailwind setting
1 parent e63d555 commit d48ffcf

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.vscode/extensions.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"recommendations": [
33
"Vue.volar",
4-
"dbaeumer.vscode-eslint"
4+
"dbaeumer.vscode-eslint",
5+
"bradlc.vscode-tailwindcss"
56
]
67
}

.vscode/settings.json

+4
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,9 @@
3434
"json",
3535
"jsonc",
3636
"yaml"
37+
],
38+
"tailwindCSS.experimental.classRegex": [
39+
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
40+
["cn\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
3741
]
3842
}

0 commit comments

Comments
 (0)