Updated icons and project structure

This commit is contained in:
2023-06-25 15:52:04 -05:00
parent 39d69a4b03
commit 314aad02bb
7 changed files with 43 additions and 26 deletions

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

@@ -0,0 +1,28 @@
import { createRouter, createWebHistory } from "vue-router";
import Home from "../views/Home.vue";
import ReferenceID from "../views/ReferenceID.vue";
const routes = [
{
path: "/",
name: "home",
component: Home,
},
{
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(/* webpackChunkName: "about" */ "../views/About.vue"),
},
{ path: "/referenceId", name: "referenceId", component: ReferenceID },
];
const router = createRouter({
history: createWebHistory(),
routes,
});
export default router;