Nuxt/examples/plugins-vendor/nuxt.config.js

10 lines
221 B
JavaScript
Raw Normal View History

2016-11-08 01:57:55 +00:00
module.exports = {
build: {
vendor: ['axios', 'mini-toastr', 'vue-notifications']
},
2016-11-16 16:55:15 +00:00
plugins: [
// ssr: false to only include it on client-side
{ src: '~plugins/vue-notifications.js', ssr: false }
2016-11-16 16:55:15 +00:00
]
2016-11-08 01:57:55 +00:00
}