我正在使用静态react模板,需要实现scss。我的git hub示例:https://github.com/PrasanthGokuldas/Test_ReactStatic.git我试图将react-static-plugin-sass添加到package.json,并包括在static.config.js文件中,
plugins: ['react-static-plugin-sass']
但是我无法访问scss文件进行项目。
我正在使用静态react模板,需要实现scss。我的git hub示例:https://github.com/PrasanthGokuldas/Test_ReactStatic.git我试图将react-static-plugin-sass添加到package.json和...
一旦您使用yarn或npm添加了react-static-plugin-sass,您需要按如下所示将其添加到插件数组的顶部: