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

关于引入css库问题 #9

Closed
sinceow opened this issue Jun 20, 2016 · 2 comments
Closed

关于引入css库问题 #9

sinceow opened this issue Jun 20, 2016 · 2 comments

Comments

@sinceow
Copy link

sinceow commented Jun 20, 2016

之前的Issue 建议,将要引入的CSS改成LESS后缀再进行 import, 点「开发」都进不去监听模式了,对于CSS文件的支持有点问题

@sinceow
Copy link
Author

sinceow commented Jun 20, 2016

解决了,不使用 import, 而是将所有的CSS文件都当成入口,换成 style-* 前缀,但还有个问题就是如果使用 Iconfont 那 fonts 字体文件应该放在什么位置?

@littledu
Copy link
Collaborator

用 LESS 的 @import 引入 css �模块文件,是可以监听的,你看看 log 面板是不是引入的 css 文件哪里报错了。

fonts 字体目前没有去具体分目录,在这里你需要把它们在 media 目录下,只有这个目录现在是对所有文件操作的。

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