-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
69 lines (68 loc) · 1.81 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
import { defineNuxtConfig } from 'nuxt'
export default defineNuxtConfig({
runtimeConfig: {
public: {
API: process.env.NODE_ENV === 'development' ? 'http://localhost:9000' : 'https://node1.0xecho.com',
DID_PARENT: process.env.NODE_ENV === 'development' ? 'imac.bit' : '0xecho.bit'
}
},
modules: [
'@nuxt/content'
],
content: {
// https://content.nuxtjs.org/api/configuration
},
meta: {
meta: [{
name: 'viewport',
content: 'width=device-width, initial-scale=1, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no'
}, {
hid: 'keywords',
name: 'keywords',
content: 'comment, like, unlike, tip, upvote, downvote, widget, arweave, decentralized, decentralized comment protocol, chat, web3',
}, {
hid: 'description',
name: 'description',
content: 'ECHO',
}],
script: [{
src: 'https://analytics.0xecho.com/js/plausible.js',
'data-domain': '0xecho.com',
defer: true
}],
link: [{
rel: 'icon',
href: '/favicon.ico',
type: 'image/x-icon'
}, {
rel: 'preconnect',
href: 'https://fonts.googleapis.com'
}, {
rel: 'preconnect',
href: 'https://fonts.gstatic.com',
crossOrigin: ''
}, {
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;900&family=Inter:wght@400;600&display=swap'
}]
},
css: [
'remixicon/fonts/remixicon.css',
'element-plus/dist/index.css',
'@/styles/_element-plus.scss',
'@/styles/_base.scss',
'@/styles/_reset.scss',
'@/styles/themes/_default.scss',
'@/styles/highlight/github.scss'
],
vite: {
css: {
preprocessorOptions: {
scss: {
additionalData: '@import "@/styles/_var.scss";',
}
}
}
},
ssr: false
})