卸载npm uninstall antd
安装npm install antd@2.0.x
装完查看版本npm list antd
install的时候 --save
要实现热加载---------》在entry中并不需要配置以下内容也可以实现;
entry: [
"webpack-dev-server/client?http://localhost:8080/",
"webpack/hot/only-dev-server",
"./app"
],
卸载npm uninstall antd
安装npm install antd@2.0.x
装完查看版本npm list antd
install的时候 --save
要实现热加载---------》在entry中并不需要配置以下内容也可以实现;
entry: [
"webpack-dev-server/client?http://localhost:8080/",
"webpack/hot/only-dev-server",
"./app"
],