Webpack/Sass/React概念证明
这是一个尝试将SASS样式模块化加载到Webpack/React应用程序中的概念证明。
###步骤1 -克隆代码库
```bash
git clone https://github.com/GasStationTV/webpack-sass-poc.git
```
###步骤2 -设置npm运行安装程序
运行安装程序,它将执行 `npm install` 并将 `style-repos` 复制到 `node_modules` 中,以模仿npm样式的repo依赖项。如果需要手动复制样式,可以使用 `npm run copy-styles`。
###步骤3 -构建和运行
#####构建如果你只想构建:
```bash
npm run build
```
#####运行如果你想运行开发服务器:
```bash
npm start
```
8.28KB
文件大小:
评论区