Huge rework

This commit is contained in:
2022-02-17 22:20:09 +01:00
parent 5e203ca70d
commit 9467186907
17 changed files with 276 additions and 185 deletions
+13 -3
View File
@@ -1,14 +1,24 @@
import { createRouter, createWebHistory } from 'vue-router'
import GameView from '../views/GameView.vue'
import HomeView from '../views/HomeView.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
name: 'game',
component: GameView,
name: 'home',
component: HomeView,
},
{
path: '/daily',
name: 'daily',
component: () => import('../views/GameView.vue'),
},
{
path: '/random',
name: 'random',
component: () => import('../views/GameView.vue'),
},
],
})