我想将应用程序部署到Github Pages。运行命令npm run predeploy后,我在./src/styles/main.scss 1:0中遇到错误 模块解析失败:意外字符'@'(1:0) 您可能需要一个适当的加载器来处理此文件类型。
@import'摘要/ _变量';
在package.json中,我将脚本进行预部署并部署到gh页中。还有gh-pages依赖性。
https://github.com/vbv13/daftacademy-frontend_levelup-spring2019/tree/master/lekcja_2/praca_domowa
我有点困惑,因为在将.scss文件导入到main.scss时通常使用@。