web前端vue問題小結及相關面試題總結

VUe問題小結 一、active-class是哪一個組件的屬性?嵌套路由怎麼定義?php   vue-router模塊的router-link組件。css 二、怎麼定義vue-router的動態路由?怎麼獲取傳過來的動態參數?前端  在router目錄下的index.js文件中,對path屬性加上/:id 。使用router對象的params.idvue 三、vue-router有哪幾種導航鉤子?
相關文章
相關標籤/搜索