25 lines
656 B
TypeScript
25 lines
656 B
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
devtools: { enabled: true },
|
|
ssr: true,
|
|
runtimeConfig: {
|
|
public: {
|
|
welcomeMessage: "Hello",
|
|
endpoint: "https://playtest.legonzaur.fr/api", // can be overridden by NUXT_PUBLIC_ENDPOINT environment variable
|
|
discordLoginEndpoint: process.env.NUXT_PUBLIC_DISCORD_LOGIN_ENDPOINT,
|
|
devMode: false,
|
|
},
|
|
},
|
|
modules: ["@pinia/nuxt", "@pinia-plugin-persistedstate/nuxt"],
|
|
vue: {
|
|
runtimeCompiler: true,
|
|
},
|
|
nitro: {
|
|
prerender: {
|
|
routes: ["/rules", "/login", "/game", "/lobby"],
|
|
|
|
crawlLinks: true,
|
|
},
|
|
},
|
|
});
|