Add basic vue app

This commit is contained in:
Joey Yakimowich-Payne 2023-08-09 19:31:10 -06:00
commit 69e7cf3f3b
No known key found for this signature in database
GPG key ID: 6BFE655FA5ABD1E1
44 changed files with 3530 additions and 1217 deletions

23
app/router/index.ts Normal file
View file

@ -0,0 +1,23 @@
import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
name: 'home',
component: HomeView
},
{
path: '/about',
name: 'about',
// route level code-splitting
// this generates a separate chunk (About.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import('../views/AboutView.vue')
}
]
})
export default router