-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnuxt.config.ts
124 lines (114 loc) · 2.7 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
import { fileURLToPath } from 'url'
import { dirname, join } from 'path'
const currentDir = dirname(fileURLToPath(import.meta.url))
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
alias: {
'@vv': '@visualizevalue/vveb3-layer',
},
css: [
'@vv/assets/styles/index.css',
join(currentDir, './styles/index.css'),
],
extends: [
'@visualizevalue/vveb3-layer',
],
modules: [
'@tresjs/nuxt',
'@vite-pwa/nuxt',
],
app: {
head: {
htmlAttrs: {
lang: 'en',
},
meta: [
{
name: 'viewport',
content: 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, 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: {
domain: 'opepen.art',
title: 'Opepen',
description: 'Consensus is temporary',
blockExplorer: 'https://etherscan.io',
chainId: 1,
rpc1: 'https://eth.llamarpc.com',
rpc2: 'https://ethereum-rpc.publicnode.com',
rpc3: 'https://eth.drpc.org',
walletConnectProjectId: '',
burnedOpepenContract: '0x53787D1Fee8512C6dF258EBdf65903E2EA371222',
opepenContract: '0x6339e5e072086621540d0362c4e3cea0d643e114',
opepenApi: '',
opepenOauthApi: '',
signatureApi: 'https://api.signature.vv.xyz/v1',
}
},
pwa: {
devOptions: {
enabled: false,
},
manifest: {
name: 'Opepen Edition',
short_name: 'Opepen',
description: 'Consensus is temporary',
theme_color: '#000000',
start_url: '/sets',
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',
})