🎉 Initialize Vue.js + Vite project

This commit is contained in:
2022-04-29 17:05:53 +02:00
commit 5302392f08
13 changed files with 3265 additions and 0 deletions

15
src/router/index.js Normal file
View File

@ -0,0 +1,15 @@
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,
},
],
});
export default router;