The VueRouter constructor takes the routes as the param. The router object is assigned to the main vue instance using the following piece of code.
確定! 回上一頁