![前端问题库】[vue-router] router.addRoutes() is deprecated and has been removed in Vue Router_随风一样自由的博客-CSDN博客 前端问题库】[vue-router] router.addRoutes() is deprecated and has been removed in Vue Router_随风一样自由的博客-CSDN博客](https://img-blog.csdnimg.cn/c62f621d6650454e9f933138bd1e7464.png)
前端问题库】[vue-router] router.addRoutes() is deprecated and has been removed in Vue Router_随风一样自由的博客-CSDN博客
![Vue Tip: Dynamically Add & Remove Route While App Is Running | Michael Hoffmann - Senior Frontend Developer (Freelancer) Vue Tip: Dynamically Add & Remove Route While App Is Running | Michael Hoffmann - Senior Frontend Developer (Freelancer)](https://res.cloudinary.com/mokkapps/image/upload/w_1920,h_1080,c_fill,f_auto/w_1400,h_630,c_fit,co_rgb:000000,g_center,x_0,y_200,l_text:domine_80_bold:Vue%20Tip%3A%20Dynamically%20Add%20%26%20Remove%20Route%20While%20App%20Is%20Running/vue_tip_template.jpg)
Vue Tip: Dynamically Add & Remove Route While App Is Running | Michael Hoffmann - Senior Frontend Developer (Freelancer)
add routes by addRoutes will not show in $router.options.routes · Issue #1859 · vuejs/vue-router · GitHub
![Vue Tip: Dynamically Add & Remove Route While App Is Running | Michael Hoffmann - Senior Frontend Developer (Freelancer) Vue Tip: Dynamically Add & Remove Route While App Is Running | Michael Hoffmann - Senior Frontend Developer (Freelancer)](https://i.ytimg.com/vi/IOa8NjlEiGg/maxresdefault.jpg)