Skip to content

shineSnow/myReactApp

Repository files navigation

webpack-react-开发

1.webpack-hot-middleware 程序不热替换。使用 connect-history-api-fallback 2.react-hot-loader配置问题。参考链接https://www.chardlau.com/webpack-and-react-hot-replacement/

npm包的用法

1.pack.lock.json https://www.zhihu.com/question/62331583/answer/197691747 2.rimraf 删除dist文件 https://blog.csdn.net/stanxl/article/details/78632820 3.clean-webpack-plugin 清除dist文件夹下文件的用法 https://www.npmjs.com/package/clean-webpack-plugin

webpack打包后文件部署问题

1.访问首页404
https://blog.csdn.net/sanstu/article/details/76064255
https://blog.csdn.net/lambert0320/article/details/73347621

ReactApp master分支切换hashHistory

About

webpack3+react15+react-router3,one React app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published