-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.js
142 lines (132 loc) · 3.6 KB
/
nuxt.config.js
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
export default {
target: 'static',
head: {
title: 'Emmanuel Karanja - Designer & Full-stack web developer',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{
hid: 'description',
name: 'description',
content:
'Young, versatile and enthusiastic programmer and entrepreneur. I build things for the web using technologies such as JavaScript, Node.js, PHP and more.'
},
{
hid: 'og:image',
property: 'og:image',
content: 'https://ekaranja.netlify.app/screenshot.png'
},
{
hid: 'twitter:card',
property: 'twitter:card',
content: 'summary_large_image'
},
{
hid: 'twitter:url',
property: 'twitter:url',
content: 'https://ekaranja.netlify.app'
},
{
hid: 'twitter:title',
property: 'twitter:title',
content: 'Emmanuel Karanja'
},
{
hid: 'twitter:description',
property: 'twitter:description',
content:
'Young, versatile and enthusiastic programmer and entrepreneur. I build things for the web using technologies such as JavaScript, Node.js, PHP and more.'
},
{
hid: 'twitter:image',
property: 'twitter:image',
content: 'https://ekaranja.netlify.app/screenshot.png'
},
{
hid: 'msapplication-TileColor',
name: 'msapplication-TileColor',
content: '#2b5797'
},
{
hid: 'msapplication-config',
name: 'msapplication-config',
content: '/browserconfig.xml'
},
{ name: 'theme-color', content: '#fff' }
],
link: [
{ rel: 'preconnect', href: 'https://fonts.gstatic.com' },
{
rel: 'stylesheet',
href:
'https://fonts.googleapis.com/css2?family=Gabriela&family=Baskervville&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap'
},
{ rel: 'shortcut icon', href: '/favicon.ico' },
{
rel: 'apple-touch-icon',
sizes: '180x180',
href: '/icons/apple-touch-icon.png'
},
{
rel: 'icon',
type: 'image/png',
sizes: '32x32',
href: '/icons/favicon-32x32.png'
},
{
rel: 'icon',
type: 'image/png',
sizes: '16x16',
href: '/icons/favicon-16x16.png'
},
{
rel: 'mask-icon',
color: '#5bbad5',
href: '/icons/safari-pinned-tab.svg'
}
]
},
pwa: {
icon: false,
manifest: {
lang: 'en',
name: 'Emmanuel Karanja',
short_name: 'EKaranja',
start_url: '/',
display: 'standalone',
theme_color: '#fff',
background_color: '#fff',
description:
'Young, versatile and enthusiastic programmer and entrepreneur. I build things for the web using technologies such as JavaScript, Node.js, PHP and more.',
icons: [
{
src: '/icons/android-chrome-192x192.png',
sizes: '192x192',
type: 'image/png'
},
{
src: '/icons/android-chrome-512x512.png',
sizes: '512x512',
type: 'image/png',
purpose: 'any maskable'
}
]
}
},
googleAnalytics: {
id: 'UA-155390144-1',
debug: {
sendHitTask: true
}
},
css: ['@/assets/scss/tailwind.scss'],
components: true,
buildModules: ['@nuxtjs/eslint-module', '@nuxtjs/tailwindcss'],
modules: ['@nuxtjs/pwa', '@nuxt/content', '@nuxtjs/google-analytics'],
content: {},
build: {},
server: {
port: 8000,
host: '0.0.0.0'
}
};