/
vibecoder123
/
GraphProcessorFork
Обзор
Документация
Войти
/
vibecoder123
/
GraphProcessorFork
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
GraphProcessorFrontend/src/router/index.ts
13 строк
421 B
coder6497
added simple routing
13 фев 2026, 19:14
13 фев 2026, 19:14
d90cf66
Код
Авторство
О чём код?
import { createRouter, createWebHistory } from 'vue-router' import GraphDataInputView from "../views/GraphDataInputView.vue" import AboutPageView from "../views/AboutPageView.vue" const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL), routes: [ { path: '/', component: GraphDataInputView }, { path: '/about', component: AboutPageView} ], }) export default router