這是我做的,有需要的同學給個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 [email protected] 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