Bootstrap

coderwhy前端基础课程|vue教程|(1)前端路由Vue-Router,vuex状态管理库|vue-routr,路由的基本使用,history,路由懒加载,动态路由配置前端路由,

Vue-router MemoryHistory(abstract0

Hash
WebHistory
MemoryHistory(V4之前叫做abstract history)
网页不会变化,不会刷新,

import {
    createRouter, createMemoryHistory } from 'vue-router'
import Home from '../views/Home.vue'


const routes &#
;