mirror of
https://gitee.com/coder-xiaomo/algorithm-visualization
synced 2025-09-06 12:51:39 +08:00
没有什么用的改动
This commit is contained in:
33
README.md
33
README.md
@@ -4,6 +4,8 @@
|
||||
|
||||
|
||||
|
||||
> webpack框架真难调教,调了好久才弄得勉强能用了,不过应该还是有哪里没有调整对,所以暂时先痛webpack开发了,后面有心情再来研究
|
||||
|
||||
### 基本框架
|
||||
|
||||
|
||||
@@ -35,3 +37,34 @@ SVG 过渡动画
|
||||
元素缓动
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Webpack
|
||||
|
||||
安装webpack
|
||||
|
||||
```bash
|
||||
npm i webpack webpack-cli -D
|
||||
npm i webpack webpack-cli -g
|
||||
```
|
||||
|
||||
安装loader
|
||||
|
||||
```bash
|
||||
npm i style-loader css-loader url-loader file-loader html-loader -D
|
||||
```
|
||||
|
||||
安装plugins
|
||||
|
||||
```bash
|
||||
npm i html-webpack-plugin mini-css-extract-plugin clean-webpack-plugin -D
|
||||
```
|
||||
|
||||
devServer(开发用):
|
||||
|
||||
```bash
|
||||
npm i webpack-dev-server -D
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user