add acl vue

This commit is contained in:
许晓东
2021-08-31 17:12:01 +08:00
parent 859e2cfed3
commit 5c0a0106d0
8 changed files with 161 additions and 22 deletions

View File

@@ -11,13 +11,19 @@ const routes = [
component: Home,
},
{
path: "/about",
name: "About",
path: "/acl",
name: "Acl",
// route level code-splitting
// this generates a separate chunk (about.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () =>
import(/* webpackChunkName: "about" */ "../views/About.vue"),
import(/* webpackChunkName: "acl" */ "../views/acl/Acl.vue"),
},
{
path: "/topic",
name: "Topic",
component: () =>
import(/* webpackChunkName: "topic" */ "../views/topic/Topic.vue"),
},
];