-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.js
90 lines (77 loc) · 1.93 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
export default {
target: 'static',
head: {
title: 'Kofe Design',
htmlAttrs: {
lang: 'pt-br',
},
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{
hid: 'description',
name: 'description',
content:
'Kofe é um estúdio de design e desenvolvimento com sede em Florianópolis, Santa Catarina. Atende remotamente clientes de diferentes cidades do mundo, projetando interfaces para produtos digitais, como sistemas, plataformas, aplicativos e sites.',
},
{ name: 'format-detection', content: 'telephone=no' },
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' },
],
},
css: ['~/assets/css/fonts.css', '~/assets/css/aos.css'],
plugins: [
{ src: '@/plugins/vueMq' },
{ src: '@/plugins/aos', ssr: false },
{ src: '@/plugins/gtag', ssr: false },
],
components: false,
buildModules: [
'@nuxtjs/eslint-module',
'@nuxtjs/svg',
'@nuxtjs/style-resources',
'nuxt-purgecss',
],
purgeCSS: {
whitelist: [
'aos-init',
'aos-animate',
'data-aos-delay',
'data-aos-duration',
'fade-up',
'fade-left',
'fade-right',
'flip-left',
],
},
styleResources: {
scss: ['@/assets/css/_variables.scss'],
},
modules: ['@nuxtjs/axios', '@nuxt/content', '@nuxtjs/sitemap'],
axios: {},
router: {
prefetchLinks: false,
},
sitemap: {
hostname: 'https://kofe.design/',
gzip: true,
exclude: ['/admin/**'],
},
content: {
liveEdit: false,
},
build: {
loaders: {
cssModules: {
modules: {
localIdentName:
process.env.NODE_ENV !== 'production'
? '[name]-[local]__[hash:base64:5]'
: '[hash:base64:10]',
},
},
},
},
}