forked from lucpotage/nuxt-github-pages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
51 lines (48 loc) · 1019 Bytes
/
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
import wasm from 'vite-plugin-wasm';
export default defineNuxtConfig({
app: {
baseURL: '/',
buildAssetsDir: 'assets',
},
routeRules: {
"/": { prerender: false },
},
tres: {
devtools: true,
glsl: true
},
ssr: false,
nitro: {prerender:{failOnError:false,}},
modules: [
'@tresjs/nuxt',
'@nuxt/devtools',
'@pinia/nuxt',
'nuxt-vuefire'
],
vuefire:{
auth:{
enabled: true,
seesionCookie: false,
},
config: {
apiKey: "AIzaSyDB86rNA0muTeyB0GAFKsK2SzEbBRou-wI",
authDomain: "snow-cat-91d34.firebaseapp.com",
projectId: "snow-cat-91d34",
storageBucket: "snow-cat-91d34.appspot.com",
messagingSenderId: "912061334044",
appId: "1:912061334044:web:01661bbaddefb6730e55d9",
measurementId: "G-HL8VQD5QKL"
}
},
alias: {
pinia: "/node_modules/@pinia/nuxt/node_modules/pinia/dist/pinia.mjs"
},
vite: {
plugins: [wasm()],
},
devtools: {
timeline: {
enabled: true,
},
},
})