vue-router(vue中的路由)

vue——router內容 1.hash和history模式 2.router-linl中屬性: replace和pushstate(可以goback()) 每個標籤單獨改時在router-link中添加active-class,統一修改時,在new router中添加linkActiveClass參數 tag——轉換成的標籤,默認是a標籤 to——路由跳轉(通過點擊事件,路由跳轉時,在函數中設置
相關文章
相關標籤/搜索