-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
Bug: tailwind 配置修改不生效 #5209
Labels
Comments
修改之后,运行一次 |
可以了,谢谢!另外请问如果想在指定的app下修改tailwind配置项,配置插件应该如何操作呢? |
每个app下不是都有个tailwind.config.mjs吗? |
不是太会写,尝试了一下不生效…… import { config as baseConfig } from '@vben/tailwind-config';
export default {
...baseConfig,
theme: {
...baseConfig.theme,
extend: {
spacing: {
1: '3.25rem',
15: '3.75rem',
128: '32rem',
144: '36rem',
},
},
},
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
Vben Admin V5
Describe the bug?
修改 internal/tailwind-config/src/index.ts 下的tailwind配置不起作用,甚至清空整个文件,也不影响项目样式,即使清空node_modules/.vite并重启服务。
Reproduction
例如在config的theme中的extend添加如下项覆盖
vscode的代码提示已是新的18rem,但页面依然是默认值。
删除清空index.ts内容,页面样式也依然正常。
System Info
Relevant log output
No response
Validations
The text was updated successfully, but these errors were encountered: