【发布时间】:2019-03-16 09:32:55
【问题描述】:
M 使用 sass 和 bootstrap 4 n 现在我在这里做的是 sass 文件夹,我有 app.scss 文件,其中有
@import _customVariables.scss
@import node_modules/bootstrap/scss/functions
@import node_modules/bootstrap/scss/mixins
当我编译 sass 文件时出现以下错误
sass --watch app.scss:style.css
Error: Expected string.
@import _customVariables.scss
^
app.scss 1:9 root stylesheet
作为新手到 sass y 是不是不导入文件
仅当我拥有它编译的整个引导程序时,它才适用于以下情况
@import "../node_modules/bootstrap/scss/bootstrap"
任何帮助将不胜感激
【问题讨论】:
标签: css sass bootstrap-4