-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
64 lines (61 loc) · 1.65 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: [
'@nuxt/devtools',
'@vueuse/nuxt',
['@nuxtjs/google-fonts', {
families: {
'Kumbh Sans': [200, 400, 700, 900],
Inconsolata: [400],
// 'Martel Sans': [900],
},
}],
],
// buildModules: ['@nuxtjs/google-fonts'],
// googleFonts: {
// families: {
// 'Kumbh Sans': [200, 400, 700, 900],
// }},
// add the font stylesheet to the head instead
// head: {
// link: [
// {
// rel: 'stylesheet',
// href: 'https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@200;400;700;900&display=swap',
// },
// ],
// },
// set up opengraph tags to use public/images/og-share-image.png as share image
app: {
head: {
meta: [
{ property: "og:title", content: "Ukraine's grain farming amidst the conflict with Russia" },
{
property: "og:description",
content:
"by The Plotline",
},
{
name: 'og:image',
content: './images/og-share-image.png',
},
{
name: 'twitter:image',
content: './images/og-share-image.png',
},
],
link: [
{ rel: 'icon', 'type': 'image/ico', href:'https://s3.us-east-2.amazonaws.com/stories2.theplotline.org/favicon.ico'}
]
},
baseURL: '/ukr-grain/',
},
// add tachyons CSS framework
css: ['tachyons/css/tachyons.min.css'],
vite: {
define: {
'process.env.POLYGON_CLIPPING_MAX_QUEUE_SIZE': '1000000',
'process.env.POLYGON_CLIPPING_MAX_SWEEPLINE_SEGMENTS': '1000000',
},
},
})