From 57b177049c55b0702d995bceb6590167a0951b79 Mon Sep 17 00:00:00 2001 From: winches <329487092@qq.com> Date: Mon, 1 Jul 2024 23:37:56 +0800 Subject: [PATCH] feat: add tw config to get the intelliSense --- .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": [ + ["([\"'`][^\"'`]*.*?[\"'`])", "[\"'`]([^\"'`]*).*?[\"'`]"] + ] }