-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.js
43 lines (41 loc) · 1.49 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
module.exports = {
head: {
title: 'Sebastien Rocks - A front-end Engineer specializing in Vue.js',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: 'Portfolio of Sebastien Crapoulet' },
{ name: "theme-color", content: "#ffffff" },
{ property: "og:title", content: "Sebastien.rocks - Portfolio" },
{ prroperty: "og:type", content: "website" },
{ property: "og:description", content: "Sebastien Crapoulet, a Front-end Engineer specializing in Vue.js and UI enthusiast" },
{ property: "og:url", content: "https://sebastien.rocks" },
{ property: "og:image", content: "/static/opengraph.jpg" }
],
link: [
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css?family=Nunito:400,600' },
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{ rel: 'maniffest', content: "/manifest.json" },
{ rel: 'mask-icon', color: '#5bbad5', href: '/safari-pinned-tab.svg' },
]
},
css: [
'~/scss/main.scss'
],
loading: { color: '#5bbad5' },
build: {
babel: {
plugins: ['transform-decorators-legacy', 'transform-class-properties']
},
extend (config, { isDev, isClient }) {
if (isDev && isClient) {
config.module.rules.push({
enforce: 'pre',
test: /\.(js|vue)$/,
loader: 'eslint-loader',
exclude: /(node_modules)/
})
}
}
}
}