Home

Issue: 2820

[question] Plugins vs Modules vs Vendor

[issue link]

Hello, this a probably a noob question but i still do not have a clear understating of the differences.

What i know is that vendor is used for things you need a lot and do not re include in every page.
On the official websites it says Modules is for nuxt modules what does that mean? If i want to use vue-notification or vue-select is that a module or plugin?

One more question: if in a plugin i do: Vue.use(pluginName) doesn’t that mean that it is available in Vue globally and can be used in any page which means no need to add that plugin in build/vendor?

This question is available on Nuxt.js community (#c2449)