This repository was archived by the owner on Jun 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.js
53 lines (53 loc) · 1.43 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
module.exports = {
css: [
{ src: '~assets/scss/main.scss', lang: 'sass' },
],
head: {
title: 'Nuxt.js oreore starter kit',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: 'DESCRIPTION_HERE' },
{ hid: 'og:image', property: 'og:image', content: 'YOUR_DOMAIN/og.png' },
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
],
},
loading: { color: '#aaa' },
build: {
// extend (config, { isDev, isClient }) {
// if (isDev && isClient) {
// config.module.rules.push({
// enforce: 'pre',
// test: /\.(js|vue)$/,
// loader: 'eslint-loader',
// exclude: /(node_modules)/,
// })
// }
//
// },
},
modules: [
['@nuxtjs/pwa'],
['@nuxtjs/sitemap'],
['nuxt-sass-resources-loader', ['assets/scss/variables/_variables.scss', 'assets/scss/mixins/_mixins.scss']],
// ['@nuxtjs/google-tag-manager', { id: 'GTM-XXXXXX' }],
],
manifest: {
// for @nuxtjs/pwa
short_name: 'nuxt oreore',
name: 'nuxt-oreore-starter-kit',
lang: 'ja',
background_color: '#aaa',
theme_color: '#aaa',
orientation: 'portrait',
},
sitemap: {
// for @nuxtjs/sitemap
hostname: 'https://nuxt-oreore-starter-kit.com',
generate: true,
gzip: true,
exclude: ['/404'],
},
}