vue-router 创建视图的三种方式
<template>
<div>
<transition name="fade">
<router-view></router-view>
</transition>
<router-link :to="'a'" >to a</router-link>
<router-link :to="{path:'/b'}" >to b</router-link>
<router-link :to="{name:'aPage'}">re</router-link>
</div>
</template>