-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
78 lines (70 loc) · 2.2 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
/* Application Settings */
app: {
/* Application Header */
head: {
charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1',
title: 'WiserSwap — Nexa Automated Market Maker (AMM)',
meta: [
{ name: 'description', content: 'Swap your Nexa assets.' },
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
],
script: [
{ src: '/js/matomo.js' },
],
},
},
/* Progressive Web Application Settings */
pwa: {
manifest: {
name: 'WiserSwap — Nexa Automated Market Maker (AMM)',
short_name: 'WiserSwap',
description: `Swap your Nexa assets.`,
lang: 'en',
theme_color: '#6a5acd',
background_color: '#6a5acd',
// useWebmanifestExtension: false,
},
meta: {
name: 'WiserSwap — Nexa Automated Market Maker (AMM)',
description: `Swap your Nexa assets.`,
author: `Nexa Exchange DAO`,
},
// icon: false, // disables the icon module
workbox: {
// workboxURL: 'TBD',
// enabled: true, // FOR DEV PURPOSES ONLY
},
},
// FIXME
runtimeConfig: {
public: {
API_ENDPOINT: 'https://telr.exchange/v1',
API_ENDPOINT_RAW: process.env.API_ENDPOINT,
API_ENDPOINT_NUXT: process.env.NUXT_ENV_API_ENDPOINT,
},
},
/* Application Modules */
modules: [
/* Tailwind CSS */
'@nuxtjs/tailwindcss',
/* Pinia */
'@pinia/nuxt',
/* Internationalization for Nuxt */
'@nuxtjs/i18n',
/* Progressive Web Application */
'@kevinmarrec/nuxt-pwa',
],
/* Route Rules */
routeRules: {
/* Disable server-side rendering for entire site. */
// NOTE: Allows for IPFS (hosting) + Web-based (rendering).
'/**': { ssr: false },
},
/* Set compatibility date. */
compatibilityDate: '2024-09-10',
})