How to import and use a regular vuejs component in sailsjs?
问题 I need to use a vue component packages as npm module with sails. Tried everything: can't import it into the page instance, import not allowed there; can't import it into a parasails.registerCompnent, same error; require also not working; importing it in the main app.js doesn't serve. Looked everywhere, it is terribly frustrating, no information anywhere. It is one of the moments I regret choosing sails for my project. Anyone having a working example of how to use a npm pachages vue component