比如有一个视图
<template>
<div id="app">
<div class="nav">
<ul>
<li>...</li>
<li>...</li>
<li>...</li>
</ul>
</div>
<div class="content">
<router-view></router-view>
</div>
</div>
</template>
另一个视图是这样的
<template>
<div id="app">
<router-view></router-view>
</div>
</template>
然后
有些路由用第一个视图,有些路由用另一个视图
可以怎么实现呢
你需要的是 命名视图
https://router.vuejs.org/zh-c...