nginx,webpack,vue.js,history,vue-router,What if local development in the vue -router history mode loads the js files on the line if it refreshes manually?
![Problems with vue router (history mode) in development server Vue.js - “Cannot GET /config” - Stack Overflow Problems with vue router (history mode) in development server Vue.js - “Cannot GET /config” - Stack Overflow](https://i.stack.imgur.com/epkiU.png)
Problems with vue router (history mode) in development server Vue.js - “Cannot GET /config” - Stack Overflow
![Vue project routing is arranged in history mode under Tomcat to solve refresh 404 problem | Develop Paper Vue project routing is arranged in history mode under Tomcat to solve refresh 404 problem | Develop Paper](https://img0.developpaper.com/2019/01/831114877-5c4146337b87e_articlex.png)
Vue project routing is arranged in history mode under Tomcat to solve refresh 404 problem | Develop Paper
![Problems with vue router (history mode) in development server Vue.js - “Cannot GET /config” - Stack Overflow Problems with vue router (history mode) in development server Vue.js - “Cannot GET /config” - Stack Overflow](https://i.stack.imgur.com/2qhMh.png)
Problems with vue router (history mode) in development server Vue.js - “Cannot GET /config” - Stack Overflow
![After the Vue router turns on the history mode of HTML5, you can click to jump normally, but it will be 404 as soon as you refresh. What's the solution? | Develop Paper After the Vue router turns on the history mode of HTML5, you can click to jump normally, but it will be 404 as soon as you refresh. What's the solution? | Develop Paper](https://imgs.developpaper.com/imgs/2224519769-587f29e519014_articlex.png)
After the Vue router turns on the history mode of HTML5, you can click to jump normally, but it will be 404 as soon as you refresh. What's the solution? | Develop Paper
![Problems with vue router (history mode) in development server Vue.js - “Cannot GET /config” - Stack Overflow Problems with vue router (history mode) in development server Vue.js - “Cannot GET /config” - Stack Overflow](https://i.stack.imgur.com/B356C.png)