git clone from github

This commit is contained in:
chiayin
2023-01-31 13:38:00 +08:00
commit cd074c3c04
28 changed files with 11030 additions and 0 deletions

25
src/router/index.js Normal file
View File

@@ -0,0 +1,25 @@
import { createRouter, createWebHistory } from "vue-router";
import MainContainer from '../views/MainContainer.vue';
import Login from '@/views/Login/index.vue';
const routes = [
{
path: "",
component: MainContainer,
childeren: [
{
path: "/Login",
name: "Login",
component: Login,
}
]
},
];
const base_url = import.meta.env.BASE_URL;
const router = createRouter({
history: createWebHistory(base_url),
routes
});
export default router;