-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
69 lines (69 loc) · 2.49 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: {
enabled: process.env.NODE_ENV === "development",
},
runtimeConfig: {
// firebaseApiKey: process.env.NUXT_FIREBASE_API_KEY,
// firebaseAuthdomain: process.env.NUXT_FIREBASE_AUTHDOMAIN,
// firebaseProjectId: process.env.NUXT_FIREBASE_PROJECT_ID,
// firebaseStorageBucket: process.env.NUXT_FIREBASE_STORAGE_BUCKET,
// firebaseMessagingSenderId: process.env.NUXT_FIREBASE_MESSAGING_SENDER_ID,
// firebaseAppId: process.env.NUXT_FIREBASE_APP_ID,
// firebaseMeasurementId: process.env.NUXT_FIREBASE_MEASUREMENT_ID,
public: {
firebaseApiKey: process.env.NUXT_FIREBASE_API_KEY || '',
firebaseAuthdomain: process.env.NUXT_FIREBASE_AUTHDOMAIN || '',
firebaseProjectId: process.env.NUXT_FIREBASE_PROJECT_ID || '',
firebaseStorageBucket: process.env.NUXT_FIREBASE_STORAGE_BUCKET || '',
firebaseMessagingSenderId: process.env.NUXT_FIREBASE_MESSAGING_SENDER_ID || '',
firebaseAppId: process.env.NUXT_FIREBASE_APP_ID || '',
firebaseMeasurementId: process.env.NUXT_FIREBASE_MEASUREMENT_ID || '',
},
},
modules: [
[
"@pinia/nuxt",
{
autoImports: [
'storeToRefs',
"defineStore",
"acceptHMRUpdate",
]
}
],
'@nuxtjs/tailwindcss',
"@nuxt/image",
"@pinia-plugin-persistedstate/nuxt",
],
piniaPersistedstate: { storage: 'localStorage' },
css: ["@/index.css"],
app: {
head: {
meta: [
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{
hid: "description",
name: "description",
content: "JobQuest",
},
],
title: "JobQuest",
link: [
{ rel: 'stylesheet', href: 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css' },
{ rel: 'preconnect', href: "https://fonts.googleapis.com" },
{ rel: "preconnect", href: "https://fonts.gstatic.com", crossorigin: 'anonymous'},
{ href:"https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap", rel:"stylesheet"},
// { href: "https://unpkg.com/aos@next/dist/aos.css", rel: 'stylesheet'},
],
script: [
// { src: 'https://cdn.tailwindcss.com' },
// { src: 'https://unpkg.com/aos@next/dist/aos.js'},
// { innerHTML: 'AOS.init()'},
]
}
},
plugins: [
{ src: '~/plugins/firebase', mode: 'client' }
]
})