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
common/index.styl @import './base' @import './icon' @import './mixin' 此文件配置了需要全局导入的styl文件
main.js ...... import "@/common/stylus/index.styl"; ......
main.js中全局导入
问题: 在App.vue中,为何还要再次导入? ..... @import "common/stylus/mixin.styl" ....
否则以下代码会报错,但是别的样式却可以正常使用。 border-1px(rgba(7, 17, 27,0.1))
�测试了很多次依然无效,请问有什么办法可以全局一次性导入吗?
The text was updated successfully, but these errors were encountered:
这个问题我是这样理解的。
宏
变量
Sorry, something went wrong.
No branches or pull requests
common/index.styl
@import './base'
@import './icon'
@import './mixin'
此文件配置了需要全局导入的styl文件
main.js
......
import "@/common/stylus/index.styl";
......
main.js中全局导入
问题:
在App.vue中,为何还要再次导入?
.....
@import "common/stylus/mixin.styl"
....
否则以下代码会报错,但是别的样式却可以正常使用。
border-1px(rgba(7, 17, 27,0.1))
�测试了很多次依然无效,请问有什么办法可以全局一次性导入吗?
The text was updated successfully, but these errors were encountered: