41 lines
1.0 KiB
TypeScript
41 lines
1.0 KiB
TypeScript
export default defineNuxtConfig({
|
|
sourcemap: true,
|
|
modules: ['@nuxt/ui-pro', '@nuxt/eslint', '@pinia/nuxt', '@nuxtjs/i18n', 'nuxt-auth-utils'],
|
|
css: ['~/assets/css/main.css'],
|
|
runtimeConfig: {
|
|
public: {
|
|
clientProxyBasePath: 'NOT_SET',
|
|
serverApiBaseUrl: 'NOT_SET',
|
|
serverApiBasePath: 'NOT_SET'
|
|
},
|
|
oauth: {
|
|
keycloak: {
|
|
clientId: 'legalconsenthub',
|
|
clientSecret: 'mROUAVlg3c0hepNt182FJgg6dEYsomc7',
|
|
realm: 'legalconsenthub',
|
|
serverUrl: 'http://localhost:7080',
|
|
redirectURL: 'http://localhost:3001/auth/keycloak',
|
|
scope: ['openid', 'organization']
|
|
}
|
|
}
|
|
},
|
|
components: [
|
|
{
|
|
path: '~/components',
|
|
pathPrefix: false
|
|
}
|
|
],
|
|
i18n: {
|
|
defaultLocale: 'de',
|
|
locales: [
|
|
{ code: 'en', name: 'English', file: 'en.json' },
|
|
{ code: 'de', name: 'Deutsch', file: 'de.json' }
|
|
]
|
|
},
|
|
// typescript: {
|
|
// typeCheck: true
|
|
// },
|
|
devtools: { enabled: true },
|
|
compatibilityDate: '2024-11-01'
|
|
})
|