feat: switching from auto-route to manual route definitions

This commit is contained in:
jezzahehn 2025-05-31 17:00:39 -04:00
parent 2d477af634
commit 4d79ab6cf0
5 changed files with 35 additions and 10 deletions

View file

@ -1,10 +1,7 @@
import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import { createRouter, createWebHistory } from "vue-router";
import { routes } from "vue-router/auto-routes";
const router = createRouter({ history: createWebHistory(), routes: routes });
import router from "./routes"
import i18n from './i18n'
createApp(App).use(i18n).use(router).mount("#app");