-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnuxt.config.js
67 lines (66 loc) · 2.22 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 title = 'Derek Brooks\'s Portfolio'
const description = 'Professional tech lead, software engineer, and product architect. I\'ve built software and teams for startups, small businesses, and Fortune 100 companies.'
export default {
buildModules: [
'@nuxtjs/composition-api/module',
'@pinia/nuxt',
],
components: true,
css: [
{ src: 'basiclightbox/dist/basicLightbox.min.css' },
{ src: '~/assets/css/main.css'}
],
generate: {
fallback: '404.html',
},
head: {
htmlAttrs: {
lang: 'en',
},
link: [
{ rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' },
{ rel: 'icon', type: 'image/png', sizes: '16x16', href: '/favicon-16x16.png' },
{ rel: 'icon', type: 'image/png', sizes: '32x32', href: '/favicon-32x32.png' },
{ rel: 'mask-icon', href: '/safari-pinned-tab.svg', color: '#ffffff' },
{ rel: 'manifest', href: '/site.webmanifest' },
],
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'author', name: 'author', content: 'Derek Brooks' },
{ hid: 'description', name: 'description', content: description},
{ name: 'format-detection', content: 'telephone=no' },
{ property: 'og:site_name', content: title },
{ hid: 'og:type', property: 'og:type', content: 'website' },
{ hid: 'og:title', property: 'og:title', content: title },
{ hid: 'og:description', property: 'og:description', content: description },
{ hid: 'twitter:card', name: 'twitter:card', content: 'summary' },
{ name: 'twitter:creator', content: '@broox' },
{ name: 'twitter:site', content: '@broox' },
{ name: 'msapplication-TileColor', content:'#2563eb'},
{ name: 'theme-color', content: '#ffffff' },
],
script: [
{
async: true,
src: 'https://www.googletagmanager.com/gtag/js?id=G-PCR2QT1MRT',
},
{
src: 'js/ga.js'
}
],
title: title,
},
plugins: [
'~/plugins/dates',
'~/plugins/meta',
],
publicRuntimeConfig: {
baseURL: process.env.BASE_URL || 'https://broox.dev',
},
router: {
// base: '/nuxt-portfolio/',
trailingSlash: true,
},
target: 'static'
}