Vue - project configuration (element, the installation routines create a route)

1, the installation element: vue add element

2, the installation route: vue add router

 

3, create a routing process: (1) New vue page main.vue, (2) the introduction and registered in router.js file, (3) Reception introduction <router-link to = "/ main"> Main </ router -link>

Guess you like

Origin www.cnblogs.com/500m/p/11577981.html