We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
为了修改antd的默认字体,在ant-default-vars.less中引入@import url("http://fonts.proxy.ustclug.org/css?family=Ubuntu"); 后出现了编译的错误,
@import url("http://fonts.proxy.ustclug.org/css?family=Ubuntu");
Expected ')' got '"'
尝试了
@import (css) url("http://fonts.proxy.ustclug.org/css?family=Ubuntu");
still no luck.
最后尝试移除http scheme,then suddenly it's working!
@import url("//fonts.proxy.ustclug.org/css?family=Ubuntu");
Ref: webpack-contrib/less-loader#67
https://blog.csdn.net/maxsky/article/details/51980438
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Error
为了修改antd的默认字体,在ant-default-vars.less中引入
@import url("http://fonts.proxy.ustclug.org/css?family=Ubuntu");
后出现了编译的错误,尝试了
still no luck.
Solution
Less
最后尝试移除http scheme,then suddenly it's working!
CSS
Ref: webpack-contrib/less-loader#67
字体CDN
https://blog.csdn.net/maxsky/article/details/51980438
The text was updated successfully, but these errors were encountered: