Repository navigation
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
95 lines (94 loc) · 1.93 KB
/
Copy pathnuxt.config.ts
File metadata and controls
95 lines (94 loc) · 1.93 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
import { defineNuxtConfig } from 'nuxt3'
// https://v3.nuxtjs.org/docs/directory-structure/nuxt.config
export default defineNuxtConfig({
ssr: true,
cli: {
badgeMessages: ['待たせたな。'],
},
modules: [
'@nuxtjs/firebase',
'@nuxtjs/robots',
'@nuxtjs/sitemap',
'nuxt-logrocket',
'@nuxtjs/sentry',
],
buildModules: [
'nuxt-windicss',
'@nuxtjs/device',
'@nuxtjs/pwa',
'@pinia/nuxt',
'@vueuse/nuxt',
],
plugins: ['~/plugins/jsonld'],
windicss: {
analyze: true,
},
firebase: {
lazy: false,
config: {
apiKey: '<apiKey>',
authDomain: '<authDomain>',
projectId: '<projectId>',
storageBucket: '<storageBucket>',
messagingSenderId: '<messagingSenderId>',
appId: '<appId>',
measurementId: '<measurementId>',
},
onFirebaseHosting: false,
services: {
auth: {
ssr: true,
},
firestore: true,
functions: true,
storage: true,
database: true,
messaging: true,
performance: true,
analytics: true,
remoteConfig: true,
},
},
robots: {
UserAgent: '*',
Disallow: '/',
},
sitemap: {
hostname: 'https://example.com',
gzip: true,
exclude: ['/secret', '/admin/**'],
routes: [
'/page/1',
'/page/2',
{
url: '/page/3',
changefreq: 'daily',
priority: 1,
lastmod: '2017-06-30T13:30:00.000Z',
},
],
},
logRocket: {
// configure LogRocket
logRocketId: '',
devModeAllowed: false,
config: {
//
},
},
sentry: {
dsn: '', // Enter your project's DSN here
// Additional Module Options go here
// https://sentry.nuxtjs.org/sentry/options
config: {
// Add native Sentry config here
// https://docs.sentry.io/platforms/javascript/guides/vue/configuration/options/
},
},
vueuse: {
ssrHandlers: true,
},
typescript: {
strict: true,
},
})