Skip to content

Commit

Permalink
Fix versions conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
João Cavalcante committed Aug 4, 2018
1 parent f6322b8 commit 09ab33d
Show file tree
Hide file tree
Showing 5 changed files with 13,159 additions and 54 deletions.
35 changes: 14 additions & 21 deletions nuxt.config.js
Expand Up @@ -13,29 +13,19 @@ module.exports = {
});
}
},

babel: {
presets({ isServer }) {
if (isServer) return null; // Use default
return [
['vue-app', {
targets: {
chrome: 40,
edge: 9,
firefox: 40,
ie: 9,
safari: 7,
},
}],
];
},
},
},
/*
** Headers
** Common headers are already provided by @nuxtjs/pwa preset
*/
head: {},
head: {
title: 'Nuxt Element Apollo Boilerplate',
},

css: [
'element-ui/lib/theme-chalk/display.css',
],


plugins: [
{ src: './plugins/element-ui.js' },
Expand Down Expand Up @@ -63,7 +53,7 @@ module.exports = {
** Customize app manifest
*/
manifest: {
theme_color: '#3B8070'
theme_color: '#3B8070',
},
/*
** Modules
Expand All @@ -75,7 +65,10 @@ module.exports = {

apollo: {
clientConfigs: {
default: '~/apollo/client-configs/default.js',
default: {
// required
httpEndpoint: 'http://localhost:4000',
},
},
},
}
};

0 comments on commit 09ab33d

Please sign in to comment.