-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnuxt.config.ts
104 lines (99 loc) · 2.38 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
export default defineNuxtConfig({
app: {
head: {
title: "LucriFi",
htmlAttrs: {
lang: "en",
},
meta: [
{
hid: "description",
name: "description",
content: "Easy crypto payrolls",
},
{
hid: "keywords",
name: "keywords",
content:
"web3, crypto, blockhain, defi, payments, transaction, dev3, lucrifi, finance",
},
{
property: "og:site_name",
content: "LucriFi",
},
{
property: "og:title",
content: "LucriFi",
},
{
property: "og:description",
content: "Easy crypto payrolls",
},
{
property: "og:image",
content: "/share-thumb.webp",
},
{
property: "og:url",
content: "https://app.lucri.fi",
},
{
name: "twitter:title",
content: "LucrFi",
},
{
name: "twitter:description",
content: "Easy crypto payrolls",
},
{
name: "twitter:image",
content: "/share-thumb.webp",
},
{
property: "twitter:url",
content: "https://app.lucri.fi",
},
{
name: "twitter:card",
content: "summary",
},
],
},
},
ssr: false,
css: ["~/assets/css/tailwind.css"],
modules: ["@nuxtjs/tailwindcss", "@pinia/nuxt"],
//buildModules: ["@pinia/nuxt"],
build: {
// https://github.com/nuxt/framework/discussions/3301#discussioncomment-2816743
transpile: ["@ethersproject", "ethers"],
},
vite: {
// https://github.com/nuxt/framework/discussions/3301#discussioncomment-2816743
optimizeDeps: {
include: ["bn.js", "js-sha3", "hash.js", "aes-js", "scrypt-js", "bech32"],
},
},
runtimeConfig: {
public: {
polygonApiKey: "",
ethereumApiKey: "",
bscApiKey: "",
avaxApiKey: "",
moonriverApiKey: "",
gnosisApiKey: "",
fantomApiKey: "",
auroraApiKey: "",
mumbaiApiKey: "",
gtagId: "",
identityUrl: "https://invest-api.ampnet.io/api/identity",
backendUrl: "https://invest-api.ampnet.io/api/blockchain-api/v1",
mailVerifierApiKey: "",
},
},
typescript: {
typeCheck: false,
tsConfig: "./tsconfig.json",
shim: false,
},
});