From 89ccf17cd47ca2a4edebb1a314358dc2ce0880a5 Mon Sep 17 00:00:00 2001 From: winches <329487092@qq.com> Date: Sun, 7 Jul 2024 12:20:04 +0800 Subject: [PATCH] feat: add tw config to get the intelliSense (#3385) * feat: add tw config to get the intelliSense * chore(deps): pnpm-lock.yaml --------- Co-authored-by: WK Wong --- .vscode/settings.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 816c570d4b..c531e733d0 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,5 +3,12 @@ "editor.formatOnSave": false, "editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit" - } + }, + "tailwindCSS.experimental.configFile": { + "packages/storybook/tailwind.config.js": ["packages/core/theme/**/*", "packages/components/**/*"], + "apps/docs/tailwind.config.js": "apps/docs/**/*" + }, + "tailwindCSS.experimental.classRegex": [ + ["([\"'`][^\"'`]*.*?[\"'`])", "[\"'`]([^\"'`]*).*?[\"'`]"] + ] }