Vue.js will return an error warning when just doing the
basic setup steps. To allow the use of
an external components in Vue.js an entry has to be added to the
externals
object vue.config.js : The way this entry has to
be specifically structure can differ between versions and setups.
Basic vue.js 2 project:
Vue.js 2 webpack project:
This configuration should be enough to now use the Drugst.One plugin as in any
other framework.