forked from xlogix/xlogix.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.js
126 lines (114 loc) · 3.32 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
import optimizedImages from 'next-optimized-images';
export default {
target: 'static',
head: {
title: 'Abhishek Uniyal',
meta: [
{ charset: 'utf-8' },
{
name: 'viewport',
content: 'width=device-width, initial-scale=1'
},
{
hid: 'description',
name: 'description',
content: 'A Product-Minded Software Engineer'
},
{
hid: 'msapplication-TileColor',
name: 'msapplication-TileColor',
content: '#2b5797'
},
{
hid: 'msapplication-config',
name: 'msapplication-config',
content: '/icons/browserconfig.xml'
},
{ name: 'theme-color', content: '#406bc7' }
],
link: [
{ rel: 'preconnect', href: 'https://fonts.gstatic.com' },
{
rel: 'stylesheet',
href:
'https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;300;400;600;700;900&display=swap'
},
{
rel: 'stylesheet',
href:
'https://fonts.googleapis.com/css2?family=Source+Code+Pro&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: {
name: 'Abhishek Uniyal',
short_name: 'Abhishek',
start_url: '/',
display: 'standalone',
theme_color: '#406bc7',
background_color: '#406bc7',
description: 'Product-Minded Software Engineer',
icons: [
{
src: '/icons/android-chrome-192x192.png',
sizes: '192x192',
type: 'image/png'
},
{
src: '/icons/android-chrome-384x384.png',
sizes: '384x384',
type: 'image/png'
}
]
}
},
googleAnalytics: {
id: 'UA-153678263-1',
debug: {
sendHitTask: true
}
},
css: ['@/assets/css/style.css'],
components: true,
buildModules: ['@nuxtjs/eslint-module', '@nuxtjs/tailwindcss'],
modules: ['@nuxtjs/pwa', '@nuxt/content', '@nuxtjs/google-analytics'],
content: {},
build: {},
withPlugins: [
[
optimizedImages,
{
/* config for next-optimized-images */
}
]
],
server: {
port: 8080,
host: 'localhost'
}
};