Closed robin-dongbin closed 8 months ago
Describe the bug theme函数输入颜色时可以自动补全, 但是输入完会报错
To Reproduce Steps to reproduce the behavior: 新项目
Expected behavior 不报错
Screenshots
Environment Plugin Version: 1.4.0 IDE Version: 2023.3.2 Unocss Version(in package.json): 0.58.3
Unocss Config: (Share your uno.config.js/ts or vite config here)
这是什么鬼?我插件也没有这种语法检查啊 你是不是还在用tailwindcss啊
没用, 但是IDE自带tailwind插件, 如果禁用了自带的tailwind插件, 就会报错theme函数不存在
貌似是缓存问题, 先用了tailwind, 然后换到unocss, tailwind 依赖删除了, 配置文件也删除了,不知道为啥还有问题. 总之刚才清理了一下缓存好了..
Describe the bug theme函数输入颜色时可以自动补全, 但是输入完会报错
To Reproduce Steps to reproduce the behavior: 新项目
Expected behavior 不报错
Screenshots
Environment Plugin Version: 1.4.0 IDE Version: 2023.3.2 Unocss Version(in package.json): 0.58.3
Unocss Config: (Share your uno.config.js/ts or vite config here)