Meteor/Atmosphere packages with Vue components



I’m using Meteor + Vue in a project, and would like to package some logic to re-use it in other projects. The package would include both Meteor-specific logic and Vue components.

I tried packaging this as an Atmosphere package, but am struggling with the Vue (single file) components, which I understand would have to be pre-compiled to be used in the Meteor app. I found some instructions on how to compile the Vue SFCs using rollup or Vue CLI, but am wondering if there’s an easier way to do that.

Has someone here done something similar and provide some pointers?