ruoyi前端 Note that the development build is not optimized. To create a production build, run npm run build.
时间: 2023-12-29 15:23:11 浏览: 233
ruoyi前端是一个基于Vue.js框架的前端项目,用于构建后台管理系统。在开发ruoyi前端时,开发人员可能会遇到“Note that the development build is not optimized. To create a production build, run npm run build.”的提示。这个提示意味着开发环境下的构建版本没有被优化,如果需要创建生产版本,需要运行“npm run build”命令来构建生产版本。这个命令将会对代码进行优化,包括压缩、混淆等操作,以提高应用程序的性能和加载速度。
解决这个问题的方法是运行“npm run build”命令来创建生产版本。如果你在运行这个命令时遇到了代理错误或其他问题,可以参考引用和引用中提供的解决方法来解决问题。
相关问题
Note that the development build is not optimized. To create a production build, run npm run build.
这句话是在提醒开发者注意,开发版本的构建并不经过优化。若要创建一个生产版本的构建,需要运行命令 npm run build。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Ruoyi前端启动报错](https://blog.csdn.net/yzs2022/article/details/129091201)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [todo_redux_saga_app:测试项目实施](https://download.csdn.net/download/weixin_42133329/18769359)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
Note that the development build is not optimized. To create a production build, run yarn build.
Note that the development build is not optimized. To create a production build, run yarn build.这句话是在提醒用户开发环境的构建版本没有经过优化,如果想要创建一个生产版本的构建,需要运行yarn build命令。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [运行npm run dev报错](https://blog.csdn.net/qq_47863414/article/details/125098969)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [todo_redux_saga_app:测试项目实施](https://download.csdn.net/download/weixin_42133329/18769359)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [Ruoyi前端启动报错](https://blog.csdn.net/yzs2022/article/details/129091201)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文