Use gulp with rollup to package a Vue project
npm install -g gulp
npm install -g rollup
npm install
The example sources code put on src.
every component is a directory under components. Must with a .vue file, an index.js, maybe css or scss file to import.
If you just want package the component, run
npm run pack
It will call rollup to package your Vue components
If you want build vue component with gulp, try
gulp build
You can add gulp-rollup to your gulp task.
Gulp will copy html and build javascript file to dist folder, also include assets.