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

全局的Less文件怎么处理 #84

Open
fastory opened this issue Jul 19, 2018 · 1 comment
Open

全局的Less文件怎么处理 #84

fastory opened this issue Jul 19, 2018 · 1 comment

Comments

@fastory
Copy link

fastory commented Jul 19, 2018

在不同的模块和组件中的less文件需要引入gb/static/目录下全局的common.less,但是当前在less中引入common.less的话,路径只在当前的模块路径下面寻找,应该怎么配置才能让gb/static/less/目录下的全局的less生效

@luckyadam
Copy link
Member

应该不用配置的吧,直接引用 @import '@gb/static/less/xx.less' 这样可以么

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