-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnuxt.config.js
47 lines (38 loc) · 1.16 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
export default {
target: 'static',
ssr: false,
modern: process.env.NODE_ENV === 'development' ? false : 'client',
head: {
htmlAttrs: {
lang: 'en',
},
title: 'map2img',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{
hid: 'description',
name: 'description',
content: 'Quickly turn an address, place or location into a static image. No coding required, free of charge.',
},
],
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
},
css: ['~assets/css/main'],
plugins: ['~plugins/validate', '~plugins/tooltip'],
components: true,
buildModules: ['@nuxt/typescript-build', '@nuxtjs/tailwindcss', '@nuxtjs/fontawesome'],
modules: ['@nuxt/http', 'nuxt-lazy-load'],
build: {},
fontawesome: {
icons: {
solid: ['faMapSigns', 'faImage', 'faRocket', 'faCreditCard', 'faBirthdayCake', 'faPalette'],
brands: ['faTwitter', 'faGithub'],
regular: ['faQuestionCircle'],
},
},
publicRuntimeConfig: {
mapboxKey: process.env.mapboxKey,
googleMapsKey: process.env.googleMapsKey,
},
}