ade440a0af
Updates the Nuxt configuration to include a custom SVG favicon for better branding and user experience. Adds the favicon SVG file to the public directory, enhancing the visual appeal of the application and ensuring it displays properly in the browser tab.
76 lines
1.6 KiB
TypeScript
76 lines
1.6 KiB
TypeScript
// 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' },
|
|
],
|
|
link: [
|
|
{ rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' },
|
|
],
|
|
},
|
|
},
|
|
|
|
runtimeConfig: {
|
|
public: {
|
|
apiBase: process.env.NUXT_PUBLIC_API_BASE || 'http://localhost:8080',
|
|
auth0: {
|
|
domain: process.env.NUXT_PUBLIC_AUTH0_DOMAIN || 'unbound.eu.auth0.com',
|
|
clientId: process.env.NUXT_PUBLIC_AUTH0_CLIENT_ID || '7k3rZ4HRxRTkTCI3ytpF8ji0o531Zq3M',
|
|
audience: process.env.NUXT_PUBLIC_AUTH0_AUDIENCE || 'https://schemas.unbound.se',
|
|
},
|
|
},
|
|
},
|
|
})
|