Can a plugin for be written in Vue?

Vue is written in javascript. Can I write a plugin using Vue?

Have never used vue so not sure but rule of thumb is if you can load it browser side, then you can use it in a plugin.


Import vue first