Initial commit

This commit is contained in:
2022-08-17 21:59:51 +02:00
commit cc6feb3171
48 changed files with 42841 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router';
import LoginView from '@/views/LoginView.vue';
import HomeView from '@/views/HomeView.vue';
import AboutView from '@/views/AboutView.vue';
import FSView from '@/views/FSView.vue';
const routes: Array<RouteRecordRaw> = [
{
path: '/',
component: HomeView
},
{
path: '/about',
name: 'about',
component: AboutView
},
{
path: '/login',
name: 'login',
component: LoginView
},
{
path: '/fs/:node_id',
name: 'fs',
component: FSView
}
];
const router = createRouter({
history: createWebHistory(process.env.BASE_URL),
routes
});
export default router;