+
diff --git a/front/src/main.ts b/front/src/main.ts
index ba9b54e..56e9113 100644
--- a/front/src/main.ts
+++ b/front/src/main.ts
@@ -6,9 +6,23 @@ import 'bootstrap-icons/font/bootstrap-icons.css'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
+import MainPage from '@/components/MainPage.vue'
+import { createRouter, createWebHistory } from 'vue-router'
+
+const router = createRouter({
+ history: createWebHistory(),
+ routes: [
+ {
+ path: '/',
+ name: 'home',
+ component: MainPage
+ }
+ ]
+})
const app = createApp(App)
app.use(createPinia())
+app.use(router)
app.mount('#app')
diff --git a/front/tsconfig.app.json b/front/tsconfig.app.json
index 8bfda9d..70cd947 100644
--- a/front/tsconfig.app.json
+++ b/front/tsconfig.app.json
@@ -10,6 +10,11 @@
],
"compilerOptions": {
"composite": true,
+ "lib": [
+ "ES2021",
+ "DOM",
+ "DOM.Iterable"
+ ],
"baseUrl": ".",
"paths": {
"@/*": [
diff --git a/front/yarn.lock b/front/yarn.lock
index 2589fb1..be7f106 100644
--- a/front/yarn.lock
+++ b/front/yarn.lock
@@ -769,6 +769,11 @@
resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue/-/plugin-vue-5.2.1.tgz#d1491f678ee3af899f7ae57d9c21dc52a65c7133"
integrity sha512-cxh314tzaWwOLqVes2gnnCtvBDcM1UMdn+iFR+UjAn411dPT3tOmqrJjbMd7koZpMAmBM/GqeV4n9ge7JSiJJQ==
+"@viz-js/viz@^3.11.0":
+ version "3.11.0"
+ resolved "https://registry.yarnpkg.com/@viz-js/viz/-/viz-3.11.0.tgz#516a3fb644ca871762bcb86e2b41b6d107869c20"
+ integrity sha512-3zoKLQUqShIhTPvBAIIgJUf5wO9aY0q+Ftzw1u26KkJX1OJjT7Z5VUqgML2GIzXJYFgjqS6a2VREMwrgChuubA==
+
"@volar/language-core@2.4.10", "@volar/language-core@~2.4.8":
version "2.4.10"
resolved "https://registry.yarnpkg.com/@volar/language-core/-/language-core-2.4.10.tgz#7d57c29d27f7bce2fa7eb9f3a1fc053a3e28e53f"
@@ -872,7 +877,7 @@
de-indent "^1.0.2"
he "^1.2.0"
-"@vue/devtools-api@^6.6.3":
+"@vue/devtools-api@^6.6.3", "@vue/devtools-api@^6.6.4":
version "6.6.4"
resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.6.4.tgz#cbe97fe0162b365edc1dba80e173f90492535343"
integrity sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==
@@ -1026,6 +1031,11 @@ ansi-styles@^6.2.1:
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5"
integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==
+ansi-up@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/ansi-up/-/ansi-up-1.0.0.tgz#235aa25b95f997291f2f6335e95485cae339a356"
+ integrity sha512-UItk+l+fKaa9th5dM/1uqeJGS7QfEPutfQB8kGBGUZo2GhF6u4q40bGa5+cQI7Jscs8L6FP8ue6+GflduCbLRQ==
+
anymatch@~3.1.2:
version "3.1.3"
resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e"
@@ -2424,6 +2434,13 @@ vue-eslint-parser@^9.4.3:
lodash "^4.17.21"
semver "^7.3.6"
+vue-router@4:
+ version "4.5.0"
+ resolved "https://registry.yarnpkg.com/vue-router/-/vue-router-4.5.0.tgz#58fc5fe374e10b6018f910328f756c3dae081f14"
+ integrity sha512-HDuk+PuH5monfNuY+ct49mNmkCRK4xJAV9Ts4z9UFc4rzdDnxQLyCMGGc8pKhZhHTVzfanpNwB/lwqevcBwI4w==
+ dependencies:
+ "@vue/devtools-api" "^6.6.4"
+
vue-tsc@^2.1.10:
version "2.1.10"
resolved "https://registry.yarnpkg.com/vue-tsc/-/vue-tsc-2.1.10.tgz#4d61a64e5fad763b8b40c1884259fd48986f0b4e"