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

stylus使用@import导入样式,样式无效 #5206

Open
seaLonely opened this issue Oct 28, 2024 · 1 comment
Open

stylus使用@import导入样式,样式无效 #5206

seaLonely opened this issue Oct 28, 2024 · 1 comment

Comments

@seaLonely
Copy link

配置

  1. color.styl
    B9A5D0D4-1EB9-45F6-A56C-8462A6F17805
  2. @import引入
    83E83177-5948-4214-ACA1-0E24B2CDE82B
  3. 依赖
    9B01DF3C-2527-4811-8D74-738530F9E10B

运行

8E314E17-6E65-405C-8E2A-F8D35C86628A
6B9372B6-3D5A-4BEE-AF61-A135B74D910D

@seaLonely
Copy link
Author

seaLonely commented Oct 28, 2024

然后后来使用@import url('src/common/color.styl'),能正确读取路径,并进入页面,但是最后样式却是空,不知道为什么
0BBFD49B-AD95-41EE-946C-90EAA9BE790F,在chrome调试中显示:
0BBFD49B-AD95-41EE-946C-90EAA9BE790F

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

1 participant