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

10 lines
222 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
2017-07-08 18:26:11 +00:00
{ src: '~/plugins/vue-notifications.js', ssr: false }
2016-11-16 16:55:15 +00:00
]
2016-11-08 01:57:55 +00:00
}