amazeui-react icon indicating copy to clipboard operation
amazeui-react copied to clipboard

请问一下编译报错在网页上显示怎么实现的?

Open Pines-Cheng opened this issue 8 years ago • 3 comments

如图: qq20160823-0 这个功能感觉即炫酷又方便,请问是怎么实现的?

Pines-Cheng avatar Aug 23 '16 06:08 Pines-Cheng

这是 webpack-hot-middleware 或者 webpack-dev-middleware 的功能,具体你可以看一下他们的源代码。

minwe avatar Aug 23 '16 11:08 minwe

thx

Pines-Cheng avatar Aug 25 '16 03:08 Pines-Cheng

我在webpack的entry里面配置了'webpack-hot-middleware/client?reload=true',然后在plugins里面添加了new webpack.HotModuleReplacementPlugin(),还是不行。。。 难道只能配合gulp及browserSync使用才可以吗?

Pines-Cheng avatar Sep 02 '16 11:09 Pines-Cheng