-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.js
62 lines (62 loc) · 2.04 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
export default {
ssr: false,
target: 'universal',
head: {
title: 'Inverted Index',
htmlAttrs: {
lang: 'en'
},
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: 'Inverted Index' },
{
hid: 'keywords',
name: 'keywords',
content: 'inverted_index, mwpereira'
},
{ hid: 'og:title', name: 'og:title', content: 'Inverted Index' },
{ hid: 'og:description', name: 'og:description', content: 'Inverted Index' },
{ hid: 'og:image', name: 'og:image', content: '/site.png' },
{ hid: 'og:site_name', name: 'og:site_name', content: 'Inverted Index' },
{ name: 'format-detection', content: 'telephone=no' },
{ name: 'msapplication', content: '#da532c' },
{ name: 'theme-color', content: '#ffffff' }
],
link: [
{ rel: 'apple-touch-icon', size: '180x180', href: '/icons/apple-touch-icon.png' },
{ rel: 'icon', type: 'image/png', size: '32x32', href: '/icons/favicon-32x32.png' },
{ rel: 'icon', type: 'image/png', size: '16x16', href: '/icons/favicon-16x16.png' },
{ rel: 'manifest', href: '/icons/site.webmanifest' },
{ rel: 'mask-icon', href: '/icons/safari-pinned-tab.svg', content: '#5bbad5' },
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
{ rel: 'preconnect', href: 'https://fonts.gstatic.com' },
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500&display=swap' },
{ rel: 'stylesheet', href: 'https://use.fontawesome.com/releases/v5.15.3/css/all.css' }
]
},
css: [
],
plugins: [
],
components: true,
buildModules: [
'@nuxt/typescript-build',
],
modules: [
'nuxt-buefy',
],
build: {
extend (config) {
config.node = {
fs: 'empty'
}
}
},
serverMiddleware: [
'./serverMiddleware/server', { path: 'server', handler: './serverMiddleware/server.ts' }
],
server: {
port: 8080
}
}