标签:多个 pre const div color 命名 new router vue
//展示多个视图
<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 } } ] })
标签:多个 pre const div color 命名 new router vue
原文地址:http://www.cnblogs.com/avidya/p/7645103.html