diff --git a/nuxt.config.ts b/nuxt.config.ts index 6aee391..21962f1 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -15,6 +15,8 @@ export default defineNuxtConfig({ }, nitro: { prerender: { + routes: ["/rules", "/login", "/game", "/lobby"], + crawlLinks: true, }, }, diff --git a/pages/game.vue b/pages/game.vue index 3502bd3..b2a4254 100644 --- a/pages/game.vue +++ b/pages/game.vue @@ -28,8 +28,6 @@ const { server: false, }); -await execute(); - const containers = computed>(() => ({ [game.value!.fireGems._id]: game.value!.fireGems, [game.value!.market._id]: game.value!.market, diff --git a/pages/lobby.vue b/pages/lobby.vue index e2d9b9b..0689657 100644 --- a/pages/lobby.vue +++ b/pages/lobby.vue @@ -14,8 +14,6 @@ const req = await useFetch>(config.public.endpoint + "/games", { server: false, }); -await req.execute(); - let games = req.data; const erika_alive = ref(true);