-
-
Notifications
You must be signed in to change notification settings - Fork 779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unocss vscode extension root configuration item does not support configuring multiple subdirectories #1764
Comments
web-demo1 or web-demo2 |
Are there plans to support this feature? tailwindcss is currently supported. |
我也有这样的问题,啥时候能支持?或者这样也行 {
"unocss.root": ['apps/a', 'apps/b', 'packages/a', 'packages/b']
} 数组的形式也行。 |
monorepo项目就是没提示,很郁闷啊 啥提示没有 |
项目运行没问题,{ |
Do you have different unocss configs across your monorepo? If no, why not create a single unocss config file in your project root and pass the config path in your vite config? // vite.config.ts in ./packages/web-demo1
import { resolve } from 'path'
import { defineConfig } from 'vite'
import UnoCSS from 'unocss/vite'
export default defineConfig({
plugins: [
UnoCSS(resolve(__dirname, '../../unocss.config.ts')),
],
}) // vite.config.ts in ./packages/web-demo2
import { resolve } from 'path'
import { defineConfig } from 'vite'
import UnoCSS from 'unocss/vite'
export default defineConfig({
plugins: [
UnoCSS(resolve(__dirname, '../../unocss.config.ts')),
],
}) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
处理了吗 |
my project directory
unocss vscode extension root configuration item does not support configuring multiple subdirectories
I would like to support configuring multiple folders
how can i solve this problem?
The text was updated successfully, but these errors were encountered: