-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.js
More file actions
76 lines (70 loc) · 1.97 KB
/
nuxt.config.js
File metadata and controls
76 lines (70 loc) · 1.97 KB
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
export default {
ssr: true,
target: 'static',
server: {
host: '0.0.0.0'
},
telemetry: false,
components: true,
head: {
title: 'Integration examples',
titleTemplate: '%s - EasyWeek Widget',
htmlAttrs: {
lang: '',
translate: 'no'
},
meta: [
{ charset: 'utf-8' },
{
hid: 'viewport',
name: 'viewport',
content:
'width=device-width, initial-scale=1, maximum-scale=1, viewport-fit=cover, user-scalable=no, shrink-to-fit=no'
},
{
hid: 'robots',
name: 'robots',
content: 'max-image-preview:large'
},
{ name: 'og:type', property: 'og:type', content: 'website' },
{
hid: 'twitter:card',
name: 'twitter:card',
content: 'summary_large_image'
},
{
hid: 'twitter:image',
name: 'twitter:image',
content: '/easyweek-widget.png'
},
{
hid: 'og:image',
name: 'og:image',
content: '/easyweek-widget.png'
}
],
link: [
{
hid: 'uikit',
href: 'https://cdn.jsdelivr.net/npm/uikit@3.6.22/dist/css/uikit.min.css',
rel: 'stylesheet'
}
],
__dangerouslyDisableSanitizers: ['script'],
script: [
{
hid: 'uikit',
src: 'https://cdn.jsdelivr.net/npm/uikit@3.6.22/dist/js/uikit.min.js',
async: true
},
{
hid: 'widget',
src: `${process.env.WIDGET_URL}/widget.js`
}
]
},
env: {
WIDGET_URL: process.env.WIDGET_URL,
BOOKING_WIDGET_URL: process.env.BOOKING_WIDGET_URL,
}
}