Skip to content
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

overrides.less文件内@import的样式需要手动重启才能生效 #12305

Open
DanielThompson168 opened this issue Apr 19, 2024 · 2 comments

Comments

@DanielThompson168
Copy link

overrides.less文件内@import的样式需要手动重启才能生效

// overrides.less
@import url('./styles/nav_bar.less');
//...
// nav_bar.less
.text{
 color: red;
}

Context

  • Umi Version: v4.1.6
  • Node Version: v18.20.1
Copy link

由于缺乏足够的信息,我们暂时关闭了该 Issue。请修改(不要回复) Issue 提供最小重现以重新开启。谢谢。

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 19, 2024
@fz6m fz6m reopened this Apr 21, 2024
@fz6m
Copy link
Member

fz6m commented Apr 21, 2024

确实有这个问题,如果有 overrides 的需求,先不要在这里面用 @import 语法吧,我理解需要 overrides 的东西也不多。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants