Skip to content

Commit 8e0e27a

Browse files
committed
solve bug
1 parent 945a256 commit 8e0e27a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ react + redux + immutable + less + scss + ES6/7 + webpack + fetch + react-router
1515

1616
## 运行(nodejs 6.0+)
1717
```
18-
npm run dev (正常编译模式)
18+
npm run dev (正常编译模式)
1919
2020
npm run hot (热替换编译模式)
21+
22+
访问 http://localhost:8088
2123
2224
npm run dist (发布生产版本,对代码进行混淆压缩,提取公共代码,分离css文件)
2325
```

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"autoprefixer-loader": "^3.2.0",
3838
"babel-core": "^6.18.2",
3939
"babel-loader": "^6.2.8",
40+
"babel-plugin-transform-class-properties": "^6.23.0",
4041
"babel-plugin-transform-decorators-legacy": "^1.3.4",
4142
"babel-preset-es2015": "^6.6.0",
4243
"babel-preset-react": "^6.5.0",

0 commit comments

Comments
 (0)