何处天涯
何处天涯
  • 发布:2020-09-16 13:51
  • 更新:2020-09-16 13:51
  • 阅读:735

dcloud scss/sass 编译失败

分类:HBuilderX

1.安装插件 https://ext.dcloud.net.cn/plugin?id=2046

  1. 下载 解压 到 /Applications/HBuilderX.app/Contents/HBuilderX/plugins
  2. 改名 compile-node-sass
  3. 执行
    5.>mkdir -p /Applications/HBuilderX.app/Contents/HBuilderX/plugins/compile-node-sass/node_modules/node-sass-china/vendor/darwin-x64-57
    6.>cd /Applications/HBuilderX.app/Contents/HBuilderX/plugins/compile-node-sass/node_modules/node-sass-china/vendor/darwin-x64-57
    7.>curl -o binding.node http://cdn.npm.taobao.org/dist/node-sass/v4.7.2/darwin-x64-57_binding.node
  4. 完成
0 关注 分享

要回复文章请先登录注册