Skip to content

Commit

Permalink
update notes
Browse files Browse the repository at this point in the history
  • Loading branch information
sean1093 authored Nov 12, 2018
1 parent 4cc609a commit 6d439ef
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion react/react-webpack-stepbystep.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ npm i babel-loader@8 @babel/core @babel/preset-env @babel/preset-react -D
npm i html-webpack-plugin -D
```

<strong>Install webpack-dev-server</strong>

```sh
npm i webpack-dev-server -D
```

並修改 package.json

```json
Expand Down Expand Up @@ -97,4 +103,4 @@ module.exports = {
{
"presets": ["@babel/preset-env", "@babel/preset-react"]
}
```
```

0 comments on commit 6d439ef

Please sign in to comment.