vue - 詳細路由配置

1. 路由可配置多個     2. 路由包含嵌套子路由 3. 路由可以別名 4. 路由單獨鉤子 5. vue2.6.0(可以直接匹配大小寫)   1 export default new Router({ 2 mode: 'history', //路由模式,取值爲history與hash 3 base: '/', //打包路徑,默認爲/,可以修改 4 routes: [ 5 {
相關文章
相關標籤/搜索