vue-router路由屬性配置說明

以下代碼: export default new Router({ mode: 'history', //路由模式,取值爲history與hash base: '/', //打包路徑,默認爲/,能夠修改 routes: [ { path: string, //路徑 ccomponent: Component; //頁面組件
相關文章
相關標籤/搜索