步驟一:安裝vue-router. npm install vue-router --save. 步驟二:在模組化工程中使用它(因為它是一個外掛,所以可以通過Vue.use()來安裝路由功能)
確定! 回上一頁