less 中這么寫是OK的@bootstrap:"../../../bootstrap/";// Core variables and mixins@import "@{bootstrap}variables.less";@import "@{bootstrap}mixins.less";// Reset@import "@{bootstrap}normalize.less";@import "@{bootstrap}print.less";但是在sass 中這么寫不行$bootsrap-path: "../../bower_components/bootstrap-sass-official/vendor/assets/stylesheets/";// Core variables and mixins@import "{ $bootsrap-path }bootstrap/variables";@import "{ $bootsrap-path }bootstrap/mixins";sass 不太熟 求-> 。
- 2 回答
- 0 關注
- 2421 瀏覽
添加回答
舉報
0/150
提交
取消