-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.js
78 lines (77 loc) · 1.85 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
require('dotenv').config()
export default {
mode: 'spa',
//needs to go to universal if it wants to be static generated
/*
** Headers of the page
*/
target: 'static',
head: {
htmlAttrs: {
lang: 'en'
},
title: 'Sólide Agency',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ name: 'keywords', content: 'Sólide, Sólide Agency, Agency, Creative, Digital, Amsterdam, Barcelona, Werner Hiemstra, Suus ten Voorde'},
{ hid: 'description', name: 'description', content: 'Creative digital agency. Sólide is there for those who want to be outstanding. Operating from Amsterdam and Barcelona.' },
{ prefix: 'og: http://ogp.me/ns#', property: 'og:image', content: 'https://www.solide.agency/solide-agency-logo-green.png'}
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon-wit.png' }
]
},
/*
** Global CSS
*/
css: [
'@assets/scss/main.scss'
],
/*
** Plugins to load before mounting the App
*/
plugins: [
{ src: '~/plugins/nuxt-client-init.js', ssr: false }
],
/*
** Nuxt.js dev-modules
*/
buildModules: [
['@nuxtjs/google-analytics', {
id: process.env.GAID
}]
],
/*
** Nuxt.js modules
*/
modules: [
// Doc: https://github.com/nuxt-community/dotenv-module
'@nuxtjs/dotenv',
'kentico-kontent-nuxt-module'
],
kenticokontent: {
projectId: process.env.KENTICO_PROJECTID,
enableAdvancedLogging: false,
enablePreviewMode: true,
enableSecuredMode: true
},
/*
** Build configuration
*/
build: {
/*
** You can extend webpack config here
*/
extend (config, ctx) {
}
},
generate: {
fallback: true,
routes: [
'/work/retailmade',
'/work/de-film-als-een-kroket',
'/work/sign-language-coffee-bar'
]
}
}