左侧menu完成

This commit is contained in:
2020-09-25 15:13:39 +08:00
parent 8b634bd9bc
commit 6502d6e46e
3 changed files with 183 additions and 7 deletions

View File

@@ -1,11 +1,10 @@
import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
import Home from '../views/Home.vue'
const routes: Array<RouteRecordRaw> = [
{
path: '/',
name: 'Home',
component: Home
component: () => import(/* webpackChunkName: "about" */ '../components/Menu.vue')
},
{
path: '/about',