24 lines
529 B
TypeScript
24 lines
529 B
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
import 'reflect-metadata';
|
|
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: '2024-11-01',
|
|
devtools: { enabled: true },
|
|
|
|
runtimeConfig: {
|
|
public: {
|
|
endpoint: "https://playtest.legonzaur.fr/api", // can be overridden by NUXT_PUBLIC_ENDPOINT environment variable
|
|
discordLoginEndpoint: "",
|
|
devMode: false,
|
|
},
|
|
},
|
|
|
|
nitro: {
|
|
prerender: {
|
|
routes: ["/login", "/"],
|
|
crawlLinks: true,
|
|
},
|
|
},
|
|
|
|
modules: ["@pinia/nuxt"],
|
|
}) |