这是我做的,有需要的同学给个star
https://github.com/wangshuangqin-hub/Reader-web
https://github.com/wangshuangqin-hub/Reader-web
2022-05-05
我的global.scss也出现错误,评论里的方法也试过,一直在报错odule build failed: Error: Node Sass version 5.0.0 is incompatible with ^4.0.0.
2021-02-02
安装node-sass的问题,我的node是v8.1.2,安装node-sass的时候,要指定版本 cnpm i node-sass@4.9.2 sass-loader -D
否则,安装报错
否则,安装报错
2020-11-17
global.scss报错
@import 'reset';
@fontSize:37.5;
@function px2rem($px){
@return ($px / @fontSize) + rem;
}
@mixin center(){
display: flex;
justify-content: center;
align-items: center;
}
错误如下:
Module build failed: TypeError: resolverFactory is not a function
@import 'reset';
@fontSize:37.5;
@function px2rem($px){
@return ($px / @fontSize) + rem;
}
@mixin center(){
display: flex;
justify-content: center;
align-items: center;
}
错误如下:
Module build failed: TypeError: resolverFactory is not a function
2020-09-24