支持 template 模板 list 模式

This commit is contained in:
muwoo
2021-12-17 17:47:51 +08:00
parent afca4f2b5a
commit 8bcc5d409c
30 changed files with 13784 additions and 28 deletions

23
tpl/src/router/index.ts Normal file
View File

@@ -0,0 +1,23 @@
import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router";
import List from "../views/List.vue";
import Doc from "../views/Doc.vue";
const routes: Array<RouteRecordRaw> = [
{
path: "/list",
name: "list",
component: List,
},
{
path: "/doc",
name: "doc",
component: Doc,
},
];
const router = createRouter({
history: createWebHashHistory(),
routes,
});
export default router;