基於 spring boot 特性html
一、首先修改配置,去掉項目名 jeecg-bootvue
ant-design-jeecg-vue/src/utils/request.js ant-design-jeecg-vue/public/index.html
二、修改路由History 模式爲「hash」spring
src/router/index.js
而後 ant-design-jeecg-vue 運行 buildnpm
npm run build
三、而後將編譯以後dist下的文件複製到 jeecg-boot-module-system 項目的 /src/main/resources/static 目錄下。
四、修改springboot項目的啓動名字,去掉項目名 jeecg-bootspringboot
jeecg-boot-module-system/src/main/resources/application-dev.yml
五、從新啓動項目,訪問 http://localhost:8080/ 就能夠看到效果app