vue-router is redirected to 404 page instead of the correct component · Issue #2668 · vuejs/vue-router · GitHub
![Getting started with Vue router in Vue.js 3, to create a few sections for the app and a menu – Felix Augenstein Getting started with Vue router in Vue.js 3, to create a few sections for the app and a menu – Felix Augenstein](https://felixaugenstein.com/blog/wp-content/uploads/2022/06/getting-started-with-vue-router.png)
Getting started with Vue router in Vue.js 3, to create a few sections for the app and a menu – Felix Augenstein
![vue-router部署到nginx,刷新出现404现象(nginx下部署多个vue)_location @router { rewrite ^.*$ /index.html last; _-D调定义之崽崽的博客-CSDN博客 vue-router部署到nginx,刷新出现404现象(nginx下部署多个vue)_location @router { rewrite ^.*$ /index.html last; _-D调定义之崽崽的博客-CSDN博客](https://img-blog.csdnimg.cn/20190225150825704.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3NpbmF0XzI5NzQwODE5,size_16,color_FFFFFF,t_70)
vue-router部署到nginx,刷新出现404现象(nginx下部署多个vue)_location @router { rewrite ^.*$ /index.html last; _-D调定义之崽崽的博客-CSDN博客
![vue.js - Vue-router redirect to 404 on every request on server but in local everything works fine - Stack Overflow vue.js - Vue-router redirect to 404 on every request on server but in local everything works fine - Stack Overflow](https://i.stack.imgur.com/6ol8y.png)