78 lines
1.7 KiB
TypeScript
78 lines
1.7 KiB
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: '2025-07-15',
|
|
devtools: { enabled: true },
|
|
devServer: { port: 3080 },
|
|
modules: [
|
|
'@nuxt/devtools',
|
|
'nuxt-auth-utils',
|
|
'@nuxtjs/i18n',
|
|
'@nuxtjs/tailwindcss',
|
|
'@vuestic/nuxt',
|
|
'@pinia/nuxt',
|
|
'@vueuse/nuxt'
|
|
],
|
|
runtimeConfig: {
|
|
public: {
|
|
s3Bucket: 'pichunt',
|
|
s3Host: 's3.swarm.syma.dev'
|
|
},
|
|
s3AccessKey: 'user',
|
|
s3SecretKey: 'password'
|
|
},
|
|
i18n: {
|
|
locales: [
|
|
{
|
|
file: 'de.json',
|
|
code: 'de',
|
|
language: 'de-DE'
|
|
},
|
|
{
|
|
file: 'en.json',
|
|
code: 'en',
|
|
language: 'en-US'
|
|
}
|
|
],
|
|
customRoutes: 'page',
|
|
strategy: 'prefix_and_default',
|
|
defaultLocale: 'de',
|
|
hmr: true,
|
|
autoDeclare: true,
|
|
langDir: 'lang',
|
|
restructureDir: 'app',
|
|
baseUrl: 'https://pichunt.syma.dev'
|
|
},
|
|
tailwindcss: {
|
|
config: {
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
primary: '#154EC1',
|
|
secondary: '#767C88',
|
|
success: '#3D9209',
|
|
info: '#158DE3',
|
|
danger: '#E42222',
|
|
warning: '#FFD43A',
|
|
backgroundPrimary: '#f6f6f6',
|
|
backgroundSecondary: '#FFFFFF',
|
|
backgroundElement: '#ECF0F1',
|
|
backgroundBorder: '#DEE5F2',
|
|
textPrimary: '#262824',
|
|
textInverted: '#FFFFFF',
|
|
shadow: 'rgba(0, 0, 0, 0.12)',
|
|
focus: '#49A8FF',
|
|
transparent: 'rgba(0, 0, 0, 0)'
|
|
},
|
|
screens: {
|
|
xs: '0px',
|
|
sm: '640px',
|
|
md: '1024px',
|
|
lg: '1440px',
|
|
xl: '1920px'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
});
|