首页 > 技术文章 > vue @import css
limit1 2018-01-25 16:27 原文
@import '~@/assets/scss/helpers/_mixin';
原理:CSS loader 会把把非根路径的url解释为相对路径, 加~前缀才会解释成模块路径。