I am not using webpack, I include vue as external script Something like this:
<script src ="unpckg.com/vue.js-latest"></script>
And I want to use npm module
https://www.npmjs.com/package/vue-context-menu
So I include it like this:
<script src= "https://unpkg.com/[email protected]/vue-context-menu.js"></script>
So how do I use it? Normally I would right:
import contextMenu from 'vue-context-menu'
But it gives me an error now.