2023-07-12 04:52:58 +02:00
|
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
|
|
export default defineNuxtConfig({
|
|
|
|
ssr: false,
|
2023-07-18 01:27:49 +02:00
|
|
|
app: {
|
|
|
|
baseURL: '/yunohost/sso',
|
2023-07-19 18:42:05 +02:00
|
|
|
buildAssetsDir: '/assets/',
|
2023-07-18 01:27:49 +02:00
|
|
|
},
|
2023-07-23 16:23:56 +02:00
|
|
|
modules: [
|
|
|
|
'@nuxtjs/i18n',
|
|
|
|
'@nuxtjs/tailwindcss',
|
|
|
|
'nuxt-icon',
|
|
|
|
'@nuxtjs/google-fonts',
|
|
|
|
],
|
2023-07-12 04:52:58 +02:00
|
|
|
devtools: { enabled: true },
|
|
|
|
googleFonts: {
|
|
|
|
families: {
|
2023-07-19 18:42:05 +02:00
|
|
|
'Source+Sans+3': [500, 900],
|
|
|
|
},
|
|
|
|
},
|
2023-07-20 17:36:08 +02:00
|
|
|
runtimeConfig: {
|
|
|
|
public: {
|
|
|
|
apiIp: '', // overridden by NUXT_PUBLIC_API_IP environment variable
|
|
|
|
},
|
|
|
|
},
|
2023-07-23 16:23:56 +02:00
|
|
|
i18n: {
|
|
|
|
locales: [
|
|
|
|
{
|
|
|
|
code: 'en-US',
|
|
|
|
iso: 'en-US',
|
|
|
|
name: 'English (United States)',
|
|
|
|
file: 'en-US.json',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
lazy: true,
|
|
|
|
langDir: 'locales',
|
|
|
|
defaultLocale: 'en-US',
|
|
|
|
strategy: 'no_prefix',
|
|
|
|
},
|
2023-07-12 04:52:58 +02:00
|
|
|
})
|