-
Notifications
You must be signed in to change notification settings - Fork 1
/
nuxt.config.js
67 lines (66 loc) · 2.61 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
const resolve = require('path').resolve;
module.exports = {
/*
** Headers of the page
*/
head: {
title: 'Fulton County Homestead Exemption Application',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: 'This free service is provided by Code for Atlanta and Atlanta Legal Aid Society.' },
{ vmid: 'og:title', property: 'og:title', content: 'Fulton County Homestead Exemption Application'},
{ vmid: 'og:description', property: 'og:description', content: 'This free service is provided by Code for Atlanta and Atlanta Legal Aid Society.'},
{ vmid: 'og:type', property: 'og:type', content: 'website'},
{ vmid: 'og:url', property: 'og:url', content: 'https://www.fultonhomestead.org'},
{ vmid: 'og:image', property: 'og:image', content: 'https://www.fultonhomestead.org/share-image.jpg'},
{ vmid: 'twitter:card', property: 'twitter:card', content: 'summary'},
{ vmid: 'twitter:site', property: 'twitter:site', content: '@codeforatlanta'},
{ vmid: 'twitter:title', property: 'twitter:title', content: 'Fulton County Homestead Exemption Application'},
{ vmid: 'twitter:description', property: 'twitter:description', content: 'This free service is provided by Code for Atlanta and Atlanta Legal Aid Society.'},
{ vmid: 'twitter:image', property: 'twitter:image', content: 'https://www.fultonhomestead.org/share-image.jpg'},
{ vmid: 'twitter:image_alt', property: 'twitter:image_alt', content: 'Screenshot of FultonHomestead.org'}
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
]
},
css: [
'@/node_modules/uswds/src/stylesheets/_all.scss'
],
modules: [
'nuxt-sass-resources-loader',
['@nuxtjs/google-analytics', {id: 'UA-116321306-1'}]
],
sassResources: [
resolve(__dirname, 'node_modules/uswds/src/stylesheets/lib/_bourbon.scss'),
resolve(__dirname, 'node_modules/uswds/src/stylesheets/core/_variables.scss')
],
plugins: [
{ src: '~/plugins/vue-cookie', ssr: false },
{ src: '~/plugins/vee-validate' }
],
/*
** Customize the progress bar color
*/
loading: { color: '#3B8070' },
/*
** 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)/
})
}
},
vendor: ['vue-cookie', 'vee-validate']
}
}