![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Vue
沙姜椰子鸡
哈哈,没人会粉你的啦!
展开
-
IDEA如何导入运行SpringBoot+Vue项目
vue项目导入前准备vue项目的node_modules直接放入idea会导致idea卡死,所以放入之前要对idea做配置,使idea对node_modules不索引。操作方法:IntelliJ IDEA ->Preferences ->Editor展开选中File Types ->在ignore files and folders里加入node_modules; ->...原创 2018-12-09 01:13:17 · 30524 阅读 · 1 评论 -
SpringBoot+Vue生产环境打包
接上一篇开发环境下,完成开发后,打包上线如下图所示,将index.js中assetsPublicPath改为’./’在build目录下utils.js下如图所示位置加入 publicPath: '…/…/'3.将前端api接口地址/backround改成 . (点号),当界面请求时,会在./user/register,会自动加前缀为当前后台地址//registerexport...原创 2018-12-09 01:46:00 · 3070 阅读 · 0 评论