added settings for router

This commit is contained in:
Kostya
2023-11-12 22:04:09 +03:00
parent 0c9333f5a5
commit 45b5015a89
3 changed files with 15 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
import { createRouter, createWebHistory } from "vue-router";
export default createRouter({
history: createWebHistory(),
routes: [
{ path: '/', component: HomePage, name: 'home' }
]
})