-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.js
72 lines (71 loc) · 1.99 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
module.exports = {
/*
** Headers of the page
*/
head: {
title: "wakki | Hayato Waki",
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: 'Portfolio about Hayato Waki.' },
{ hid: 'keywords', name: 'keywords', content: 'Hayato Waki,和木勇人' },
{ hid: 'og:site_name', property: 'og:site_name', content: 'Hayato Waki Portfolio' },
{ hid: 'og:type', property: 'og:type', content: 'website' },
{ hid: 'og:url', property: 'og:url', content: 'https://wakkihaya.com' },
{ hid: 'og:title', property: 'og:title', content: 'wakki | Hayato Waki' },
{ hid: 'og:description', property: 'og:description', content: 'Portfolio about Hayato Waki.' },
{ hid: 'og:image', property: 'og:image', content: 'https://wakkihaya.com/ogp.jpg' }
],
script: [
{ src: 'https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js' }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css?family=Noto+Sans+JP&subset=japanese' }
]
},
css: [
'~/assets/sass/style.scss',
],
modules: [
'nuxt-webfontloader',
'@nuxtjs/sitemap'
],
webfontloader: {
google: {
families: ['Noto+Sans+JP']
}
},
plugins: [
{ src: '~/plugins/scrollInview.js' },
],
/*
** Customize the progress bar color
*/
loading: { color: '#3B8070' },
sitemap: {
hostname: 'https://wakkihaya.com',
generate: true,
routes: [
'/',
]
}
/*
** Build configuration
*/
// build: {
// /*
// ** Run ESLint on save
// */
// extend (config, { isDev, isClient }) {
// if (isDev && isClient) {
// config.module.rules.push({
// enforce: 'pre',
// test: /\.(js|vue)$/,
// loader: 'eslint-loader',
// exclude: /(node_modules)/
// })
// }
// }
// }
}