feature: more fixes to make it amazing

This commit is contained in:
2026-02-07 16:33:07 -06:00
parent d55aac6605
commit f4dedcd66e
18 changed files with 579 additions and 261 deletions

View File

@@ -1,11 +1,21 @@
import { createRouter, createWebHistory } from "vue-router";
import Home from "./pages/Home.vue";
import Pokedex from "./pages/Pokedex.vue";
import Pokemon from "./pages/Pokemon.vue";
import Settings from "./pages/Settings.vue";
import Maps from "./pages/Maps.vue";
import Games from "./pages/Games.vue";
import Moves from "./pages/Moves.vue";
import NotFound from "./pages/NotFound.vue";
const routes = [
{ path: "/", component: Home, name: "home" },
{ path: "/pokemon/:id", component: Pokedex, name: "pokemon" },
{ path: "/pokemon", component: Pokemon, name: "pokemon-list" },
{ path: "/settings", component: Settings, name: "settings" },
{ path: "/maps", component: Maps, name: "maps" },
{ path: "/games", component: Games, name: "games" },
{ path: "/moves", component: Moves, name: "moves" },
{ path: "/home", component: Home, name: "home-alias" },
{ path: "/:catchAll(.*)", component: NotFound, name: "404" },
];