-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnuxt.config.js
28 lines (28 loc) · 981 Bytes
/
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
export default {
modules: [],
head: {
titleTemplate: '%s - cuchi.me',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: 'Hi there! this page is where I share my thoughs and knowledge about software development.' }
]
},
css: [
'@/assets/css/spectre-custom.scss',
'highlight.js/styles/github.css'
],
serverMiddleware: [
{ path: '/api/github-events', handler: '~/api/github-events.js' },
{ path: '/api/wakatime-activity', handler: '~/api/wakatime-activity.js' },
{ path: '/api/posts', handler: '~/api/posts.js' },
{ path: '/api/career', handler: '~/api/career.js' },
{ path: '/rss.xml', handler: '~/api/rss.js' },
],
env: {
BASE_URL: process.env.BASE_URL || (process.env.NODE_ENV === 'production'
? 'https://cuchi.me'
: 'http://localhost:3000'),
SITE_NAME: 'Paulo Henrique Cuchi',
},
}