Polarcraft/webv2/nuxt.config.ts

39 lines
1.1 KiB
TypeScript
Raw Normal View History

2023-06-01 22:06:11 +02:00
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
2023-06-04 22:47:48 +02:00
ssr: false,
2023-06-01 22:06:11 +02:00
typescript: {
2023-06-04 10:26:36 +02:00
typeCheck: true
},
nitro: {
plugins: ['~/server/index.ts']
},
2023-06-04 10:26:36 +02:00
modules: [
2023-06-12 15:56:09 +02:00
'@nuxthq/ui',
2023-06-12 16:48:38 +02:00
'nuxt-icon',
'@nuxtjs/eslint-module'
],
2023-06-24 13:47:40 +02:00
app: {
head: {
link: [
{ rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' },
{ rel: 'icon', sizes: '32x32', type: 'image/png', href: '/favicon-32x32.png' },
{ rel: 'icon', sizes: '16x16', type: 'image/png', href: '/favicon-16x16.png' },
{ rel: 'manifest', href: '/site.webmanifest' }
]
},
pageTransition: { name: 'page', mode: 'out-in' }
},
runtimeConfig: {
discordClientId: '',
discordClientSecret: '',
oauthRedirectUri: 'http://localhost:3000/api/auth',
jwtSecret: '',
mongoUrl: '',
mongoUser: '',
mongoPass: '',
public: {
oauthUrl: 'https://discord.com/api/oauth2/authorize?client_id=1052974736432443432&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fapi%2Fauth&response_type=code&scope=identify'
}
}
2023-06-01 22:06:11 +02:00
})