webpack-plugin-mock
时间: 2023-08-29 20:10:55 浏览: 210
webpack
引用中提到的webpack-dev-middleware是一个webpack插件,它用于在开发过程中提供一个实时重新加载的开发服务器。它通过将webpack编译的输出文件发送到内存中的虚拟目录来实现实时重新加载。这个插件可以与其他中间件一起使用,例如express或koa,以便在开发过程中创建一个完整的开发环境。通过配置webpack-dev-middleware,可以将其与webpack配置文件一起使用来监视文件的变化,并在文件发生变化时自动重新编译和重新加载应用程序。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* [搭建vue+webpack+mock脚手架(一)](https://blog.csdn.net/weixin_34220834/article/details/89078979)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}} ] [.reference_item]
- *2* [mock接口webpack配置proxy,CORS跨域,webpack-plugin](https://blog.csdn.net/m0_37772480/article/details/106482328)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}} ] [.reference_item]
- *3* [webpack mock模式配置](https://blog.csdn.net/boborookie/article/details/104931090)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文