24 lines
668 B
TypeScript
24 lines
668 B
TypeScript
export default defineNuxtConfig({
|
|
modules: ['@nuxtjs/tailwindcss', '@pinia/nuxt'],
|
|
|
|
runtimeConfig: {
|
|
public: {
|
|
leagueId: 'sba',
|
|
leagueName: 'Stratomatic Baseball Association',
|
|
apiUrl: process.env.NUXT_PUBLIC_API_URL || 'http://localhost:8000',
|
|
wsUrl: process.env.NUXT_PUBLIC_WS_URL || 'http://localhost:8000',
|
|
discordClientId: process.env.NUXT_PUBLIC_DISCORD_CLIENT_ID || '',
|
|
discordRedirectUri: process.env.NUXT_PUBLIC_DISCORD_REDIRECT_URI || 'http://localhost:3000/auth/callback',
|
|
}
|
|
},
|
|
|
|
compatibilityDate: '2025-07-15',
|
|
|
|
devtools: { enabled: true },
|
|
|
|
typescript: {
|
|
strict: true,
|
|
typeCheck: true
|
|
}
|
|
})
|