Tag:vue-route

  • Vue route of Vue routing plug-in

    Time:2019-11-24

    Vue routing plug-in, vuer router, enables the official route management of Vue to be highly coupled with Vue 1. Use of Vue router import Vue from ‘vue’ Import router from ‘Vue router’ // import route component Vue.use(Router) new Router({ Mode: ‘history’, // two modes of routing hash and history default to history mode routes: [ […]