//展示多个视图
<router-view class="view one"></router-view> <router-view class="view two" name="a"></router-view>
const router = new VueRouter({
  routes: [
    {
      path: '/',
      components: {
        default: Foo,
        a: Bar
      }
    }
  ]
})

 

相关文章:

  • 2021-06-06
  • 2022-12-23
  • 2021-06-24
  • 2021-09-03
  • 2021-04-18
  • 2022-12-23
  • 2021-08-20
猜你喜欢
  • 2021-07-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-18
  • 2022-12-23
  • 2022-03-05
  • 2022-12-23
相关资源
相似解决方案