-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.js
47 lines (47 loc) · 1.3 KB
/
nuxt.config.js
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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
colorMode: {
preference: "light",
},
ui: {
icons: ["uil", "heroicons"],
},
runtimeConfig: {
OPEN_API_KEY: "asdadaoadjij22",
public: {
WEATHER_KEY: "asdjiadij",
deploymentUrl: process.env.DEPLOYMENT_URL,
},
},
devtools: {
enabled: true,
},
image: {
// Nuxt Image Module config
domains: ["products.7span.in"],
provider: "ipx",
presets: {
avatar: {
modifiers: {
format: "jpg",
width: 50,
height: 50,
},
},
},
},
modules: ["@nuxt/image-edge", "nuxt-vuefire", "@nuxthq/ui"],
vuefire: {
auth: true,
config: {
apiKey: process.env.API_KEY,
authDomain: process.env.AUTH_DOMAIN,
projectId: process.env.PROJECT_ID,
storageBucket: process.env.STORAGE_BUCKET,
messagingSenderId: process.env.MESSAGING_SENDER_ID,
appId: process.env.APP_ID,
measurementId: process.env.MEASUREMENT_ID,
// there could be other properties depending on the project
},
},
});