vue中嵌套路由的命名

在設置vue的路由時,有時候會出現一個組建中設置多個<router-view/>javascript 能夠經過<router-view>指定name屬性來區分router-view,不寫名字默認爲default。html <div> <h1>User Settings</h1> <NavBar/> <router-view/> <router-view name="helper"/
相關文章
相關標籤/搜索