Vue路由:<router-view />标签应该放在哪里
https://www.cnblogs.com/bulici/p/11799404.html
{
  path: "/one",
  name: "one",
  component: one,
  children: [
    {
      path: "two",
      component: two,
      children:[
        {
          path:"three",
          component:three
        }
      ]
    }
  ]
}
上述例子中
第一级路由(/one),需要将<router-view />标签放在app.vue里
第二级路由(/one/two),需要将<router-view />标签放在one.vue里
第三级路由(/one/two/three),需要将<router-view />标签放在two.vu
 
                    
                 
                
            
         
 浙公网安备 33010602011771号
浙公网安备 33010602011771号