admin felület fejlesztése garázs, előfizeztési csomagok
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export default defineNuxtConfig({
|
||||
devtools: { enabled: true },
|
||||
modules: ['@nuxtjs/tailwindcss', '@pinia/nuxt'],
|
||||
modules: ['@nuxtjs/tailwindcss', '@pinia/nuxt', '@nuxtjs/i18n'],
|
||||
css: ['~/assets/css/main.css'],
|
||||
tailwindcss: {
|
||||
config: {
|
||||
@@ -16,9 +16,33 @@ export default defineNuxtConfig({
|
||||
},
|
||||
},
|
||||
},
|
||||
i18n: {
|
||||
locales: [
|
||||
{ code: 'hu', iso: 'hu-HU', file: 'hu.json', name: 'Magyar' },
|
||||
{ code: 'en', iso: 'en-GB', file: 'en.json', name: 'English' },
|
||||
],
|
||||
defaultLocale: 'hu',
|
||||
lazy: false,
|
||||
langDir: 'locales/',
|
||||
strategy: 'no_prefix',
|
||||
detectBrowserLanguage: {
|
||||
useCookie: true,
|
||||
cookieKey: 'i18n_redirected',
|
||||
redirectOn: 'root',
|
||||
},
|
||||
},
|
||||
vite: {
|
||||
server: {
|
||||
allowedHosts: ['admin.servicefinder.hu'],
|
||||
},
|
||||
},
|
||||
nitro: {
|
||||
devProxy: {
|
||||
'/api/v1': {
|
||||
target: process.env.NUXT_PUBLIC_API_BASE_URL || 'http://sf_api:8000',
|
||||
changeOrigin: true,
|
||||
prependPath: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user