36 lines
817 B
JavaScript
36 lines
817 B
JavaScript
|
module.exports = {
|
||
|
/*
|
||
|
** Headers of the page
|
||
|
*/
|
||
|
head: {
|
||
|
title: 'matthew ess',
|
||
|
meta: [
|
||
|
{ charset: 'utf-8' },
|
||
|
{ 'http-equiv': 'X-UA-Compatible', content: 'IE=edge,chrome=1' },
|
||
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
||
|
{ hid: 'description', name: 'description', content: 'my personal website' },
|
||
|
],
|
||
|
link: [
|
||
|
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
|
||
|
],
|
||
|
},
|
||
|
/*
|
||
|
** Build configuration
|
||
|
*/
|
||
|
build: {
|
||
|
/*
|
||
|
** Run ESLint on save
|
||
|
*/
|
||
|
extend(config, { isDev, isClient }) {
|
||
|
if (isDev && isClient) {
|
||
|
config.module.rules.push({
|
||
|
enforce: 'pre',
|
||
|
test: /\.(js|vue)$/,
|
||
|
loader: 'eslint-loader',
|
||
|
exclude: /(node_modules)/,
|
||
|
});
|
||
|
}
|
||
|
},
|
||
|
},
|
||
|
};
|