-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnuxt.config.ts
48 lines (48 loc) · 1.41 KB
/
nuxt.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
export default defineNuxtConfig({
css: ['@/assets/css/core.css', '@/assets/css/main.css', '@/assets/css/animation.css'],
modules: ['@pinia/nuxt', '@nuxthq/ui', '@nuxtjs/i18n'],
i18n: {
vueI18n: 'i18n.config',
detectBrowserLanguage: {
useCookie: true,
fallbackLocale: 'en',
},
strategy: 'no_prefix',
locales: [
{
code: 'en',
file: 'en.json',
},
{
code: 'ar',
file: 'ar.json',
},
],
langDir: 'localizations',
defaultLocale: 'en',
},
// vuefire: {
// /* We're gonna pause the authentication work until we finish the important parts in the aoo */
// auth: true,
// // admin: {
// // serviceAccount: './service-account.json',
// // },
// config: {
// apiKey: import.meta.env.VITE_FIREBASE_API_KEY,
// authDomain: import.meta.env.VITE_FIREBASE_AUTH_DOMAIN,
// projectId: import.meta.env.VITE_FIREBASE_PROJECT_ID,
// storageBucket: import.meta.env.VITE_FIREBASE_STORAGE_BUCKET,
// messagingSenderId: import.meta.env.VITE_FIREBASE_MESSAGING_SENDER_ID,
// appId: import.meta.env.VITE_FIREBASE_APP_ID,
// measurementId: import.meta.env.VITE_FIREBASE_MEASUREMENT_ID,
// },
// },
colorMode: {
preference: 'dark',
fallback: 'dark',
},
pinia: {
autoImports: ['defineStore', ['defineStore', 'definePiniaStore']],
},
devtools: { enabled: true },
});