【问题标题】:Add node_module bootstrap scss to gulp将 node_modules 引导 scss 添加到 gulp
【发布时间】:2018-04-20 22:48:22
【问题描述】:

我已经使用 npm 安装了 bootstrap 4 beta,我想将它添加到我的项目中。我有 gulp 并且我想在其中包含 bootstrap 的 scss ......我该怎么做?

【问题讨论】:

  • 只需将 bootstrap 的路径添加到您的 gulp scss 中,或者您可以将 bootstrap scss 包含在您的主 scss 文件中。

标签: twitter-bootstrap sass gulp node-modules


【解决方案1】:

我有基础。您应该替换引导程序的路径。

.pipe(sass({
    includePaths: ["./node_modules/foundation-sites/scss"]
}).on("error", sass.logError))

【讨论】:

    猜你喜欢
    • 2017-11-26
    • 1970-01-01
    • 2018-02-23
    • 1970-01-01
    • 2018-02-25
    • 2019-05-18
    • 2017-11-02
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多