Import and npm failure (debugging)

So my sessions and akryum vue components package wouldn’t work after having even copied and pasted the example repo- from akryum for vue- into my app, and then deleting a bunch of code. Somehow a bunch of other packages would run fine like “flow router” without importing, yet example app would import {Vue} in main js files. From my understanding main js files don’t hold much significance, and yet how does one go about enabling import requirment even for packages be they npm or not.