2025-11-22 16:42:35 +01:00
|
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
|
|
|
export default defineNuxtConfig({
|
|
|
|
|
compatibilityDate: '2024-11-21',
|
|
|
|
|
|
|
|
|
|
devtools: { enabled: true },
|
|
|
|
|
|
|
|
|
|
ssr: false,
|
|
|
|
|
|
|
|
|
|
devServer: {
|
|
|
|
|
port: 3500,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
modules: [
|
|
|
|
|
'vuetify-nuxt-module',
|
|
|
|
|
'@nuxt/eslint',
|
|
|
|
|
'@nuxtjs/stylelint-module',
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
eslint: {
|
|
|
|
|
checker: true,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
stylelint: {
|
|
|
|
|
lintOnStart: false,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
vuetify: {
|
|
|
|
|
moduleOptions: {
|
|
|
|
|
/* module specific options */
|
|
|
|
|
},
|
|
|
|
|
vuetifyOptions: {
|
|
|
|
|
theme: {
|
|
|
|
|
defaultTheme: 'light',
|
|
|
|
|
themes: {
|
|
|
|
|
light: {
|
|
|
|
|
colors: {
|
|
|
|
|
primary: '#1976D2',
|
|
|
|
|
secondary: '#424242',
|
|
|
|
|
accent: '#82B1FF',
|
|
|
|
|
error: '#FF5252',
|
|
|
|
|
info: '#2196F3',
|
|
|
|
|
success: '#4CAF50',
|
|
|
|
|
warning: '#FB8C00',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
app: {
|
|
|
|
|
head: {
|
|
|
|
|
title: 'Unbound Schemas',
|
|
|
|
|
meta: [
|
|
|
|
|
{ charset: 'utf-8' },
|
|
|
|
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
|
|
|
|
{ name: 'description', content: 'View and manage your federated GraphQL schemas' },
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
runtimeConfig: {
|
|
|
|
|
public: {
|
|
|
|
|
apiBase: process.env.NUXT_PUBLIC_API_BASE || 'http://localhost:8080',
|
|
|
|
|
auth0: {
|
2025-11-23 12:56:52 +01:00
|
|
|
domain: process.env.NUXT_PUBLIC_AUTH0_DOMAIN || 'unbound.eu.auth0.com',
|
|
|
|
|
clientId: process.env.NUXT_PUBLIC_AUTH0_CLIENT_ID || '7k3rZ4HRxRTkTCI3ytpF8ji0o531Zq3M',
|
2025-11-22 16:42:35 +01:00
|
|
|
audience: process.env.NUXT_PUBLIC_AUTH0_AUDIENCE || 'https://schemas.unbound.se',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
})
|