2017-04-15 14:16:14 +00:00
|
|
|
const {join} = require('path')
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
/*
|
|
|
|
** Electron Settings
|
|
|
|
*/
|
|
|
|
electron: {
|
|
|
|
width: 1200,
|
|
|
|
height: 800
|
|
|
|
},
|
|
|
|
build: {
|
2017-04-28 10:08:01 +00:00
|
|
|
extend (config, {isClient}) {
|
|
|
|
// Extend only webpack config for client-bundle
|
|
|
|
if (isClient)
|
|
|
|
{
|
|
|
|
config.target = 'electron-renderer'
|
|
|
|
}
|
|
|
|
},
|
2017-04-15 14:16:14 +00:00
|
|
|
vendor: ['vuetify', 'axios']
|
|
|
|
},
|
|
|
|
plugins: [
|
2017-04-16 19:55:47 +00:00
|
|
|
'~plugins/vuetify.js'
|
2017-04-15 14:16:14 +00:00
|
|
|
],
|
|
|
|
css: [
|
|
|
|
{src: join(__dirname, 'css/app.styl'), lang: 'styl'},
|
|
|
|
'assets/main.css'
|
|
|
|
],
|
|
|
|
head: {
|
|
|
|
link: [
|
|
|
|
{rel: 'stylesheet', href: 'http://fonts.googleapis.com/css?family=Roboto'},
|
|
|
|
{rel: 'stylesheet', href: 'http://fonts.googleapis.com/icon?family=Material+Icons'}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|