-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathnuxt.config.ts
45 lines (45 loc) · 1.12 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
// https://nuxt.com/docs/api/configuration/nuxt-config
import vuetify, { transformAssetUrls } from "vite-plugin-vuetify";
export default defineNuxtConfig({
compatibilityDate: "2024-04-03",
devtools: { enabled: true },
build: {
transpile: ["vuetify"],
},
css: ['~/assets/main.css'],
modules: [
'nuxt-vuefire',
(_options, nuxt) => {
nuxt.hooks.hook("vite:extendConfig", (config) => {
// @ts-expect-error
config.plugins.push(vuetify({ autoImport: true }));
});
},
'nuxt-gtag',
],
vuefire: {
config: {
apiKey: 'AIzaSyBUeJeTLIACj6WP8XAfkYkBbVJqQReO0SY',
authDomain: 'devfest-2024-64eb1.firebaseapp.com',
projectId: 'devfest-2024-64eb1',
appId: '1:940154441436:web:f23cf742f2c14fcc132e19',
messagingSenderId: "940154441436",
measurementId: "G-GMNG13FRZ8",
storageBucket: "gs://devfest-2024-64eb1.appspot.com",
// there could be other properties depending on the project
},
auth: {
enabled: true
},
},
vite: {
vue: {
template: {
transformAssetUrls,
},
},
},
gtag: {
id: "G-NLQ83656QY",
},
});