45 lines
1.0 KiB
TypeScript
45 lines
1.0 KiB
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: '2024-11-01',
|
|
devtools: { enabled: false },
|
|
modules: [
|
|
'@pinia/nuxt',
|
|
'@nuxtjs/tailwindcss',
|
|
'vuetify-nuxt-module',
|
|
'@nuxtjs/i18n'
|
|
],
|
|
i18n: {
|
|
locales: [
|
|
{ code: 'en', iso: 'en-US', file: 'en.json', name: 'English' },
|
|
{ code: 'hu', iso: 'hu-HU', file: 'hu.json', name: 'Magyar' }
|
|
],
|
|
defaultLocale: 'hu',
|
|
lazy: true,
|
|
langDir: 'locales',
|
|
strategy: 'no_prefix'
|
|
},
|
|
vuetify: {
|
|
moduleOptions: {
|
|
/* module specific options */
|
|
},
|
|
vuetifyOptions: {
|
|
/* vuetify options */
|
|
}
|
|
},
|
|
css: ['vuetify/lib/styles/main.sass', '@mdi/font/css/materialdesignicons.min.css'],
|
|
build: {
|
|
transpile: ['vuetify'],
|
|
},
|
|
vite: {
|
|
define: {
|
|
'process.env.DEBUG': false,
|
|
},
|
|
},
|
|
runtimeConfig: {
|
|
public: {
|
|
apiBaseUrl: process.env.NUXT_PUBLIC_API_BASE_URL || 'http://localhost:8000',
|
|
appName: 'Service Finder Admin',
|
|
appVersion: '1.0.0'
|
|
}
|
|
}
|
|
}) |