Allow to import on component only
Garito opened this issue · 3 comments
Garito commented
Hi!
I've noticed that your are defining the $copyText function and so on in the plugin
Instead of that, you could define the functions outside the plugin and export them
That way we could import it on a component which allows to load your library outside the main bundle
Thanks
Inndy commented
You should use clipboard.js directly in case you don't need the Vue.js part.
Garito commented
What I want is to use it on vue but not globally imported since I use it only in one component