32 lines
806 B
TypeScript
32 lines
806 B
TypeScript
export default defineNuxtConfig({
|
|
srcDir: '.',
|
|
|
|
modules: ['@nuxtjs/tailwindcss', '@pinia/nuxt', '@nuxt/eslint'],
|
|
|
|
pages: true,
|
|
|
|
dir: {
|
|
pages: 'pages'
|
|
},
|
|
|
|
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: false // Disable in dev - use `npm run type-check` manually
|
|
}
|
|
})
|