-
Notifications
You must be signed in to change notification settings - Fork 1
/
nuxt.config.ts
129 lines (122 loc) · 2.59 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
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {
head: {
htmlAttrs: {
lang: 'en',
},
meta: [
{
name: 'viewport',
content: 'width=device-width, initial-scale=1, viewport-fit=cover'
},
{ name: 'theme-color', content: '#000000' },
{
name: 'twitter:card',
content: 'summary_large_image',
},
{
name: 'twitter:site',
content: '@opepenedition',
}
],
link: [
{
rel: 'icon',
href: '/favicon.ico',
sizes: '48x48'
},
{
rel: 'icon',
href: '/icon.svg',
sizes: 'any',
type: 'image/svg+xml'
},
{
rel: 'apple-touch-icon',
href: '/apple-touch-icon-512x512.png'
},
]
}
},
runtimeConfig: {
public: {
opepenApi: '',
opepenOauthApi: '',
signatureApi: 'https://api.signature.vv.xyz/v1',
opepenContract: '0x6339e5e072086621540d0362c4e3cea0d643e114',
burnedOpepenContract: '0x0000000000000000000000000000000000000000',
rpc: 'http://127.0.0.1:8545',
alchemy: '',
walletConnectProjectId: '',
chainName: 'mainnet',
chainId: '1',
},
},
css: [
'~/styles/index.css',
],
postcss: {
plugins: {
'postcss-nested': {},
'postcss-custom-selectors': {
importFrom: 'styles/custom-selectors.css',
},
'postcss-custom-media': {
importFrom: 'styles/custom-media.css',
},
'postcss-preset-env': {
stage: 3,
features: {},
},
'autoprefixer': {},
},
},
vite: {
server: {
hmr: {
overlay: false,
}
}
},
modules: [
'@tresjs/nuxt',
'@vite-pwa/nuxt',
],
pwa: {
devOptions: {
enabled: false,
},
manifest: {
name: 'Opepen',
short_name: 'Opepen',
description: 'Opepen Web Application',
theme_color: '#000000',
icons: [
{
src: 'pwa-64x64.png',
sizes: '64x64',
type: 'image/png',
},
{
src: 'pwa-192x192.png',
sizes: '192x192',
type: 'image/png',
},
{
src: 'pwa-512x512.png',
sizes: '512x512',
type: 'image/png',
purpose: 'any'
},
{
src: 'pwa-512x512.png',
sizes: '512x512',
type: 'image/png',
purpose: 'maskable'
}
],
},
},
compatibilityDate: '2024-12-17',
})