🛠A simple vue.js component/library, the technology is mainly through vue+babel+rollup+eslint+sass, etc., to meet the configuration of the library.Also includes live animation, h5video components
- scaffolding of vue+rollup+sass+eslint+babelScaffolding detailed tutorial
- Live animation componentsLive Animation Tutorial
- Custom video component of x5 kernel browserxh5 video component tutorial
If you like this project, You can support me with starring ⭐ this repository.
If you have any questions or want to join us, you can find the author in the group to discuss through the group QR code below
- Install vue-cli
$ npm install -g vue-cli
$ yarn global add @vue/cli-init
- Initial component/library
$ vue init luchaoqun125/vue_lib_rollup my-library
$ cd my-library
$ npm install
$ npm run dev
npm run dev
// your library
$ npm link
// to your project, name in package.json
npm link <name>
- Building component/library.
$ npm run build
- Publishing to npm. (Please run
npm run build
before publish to NPM)
$ npm publish
- rollup compilation pluginRollup Plugin Vue
- rollup universal pluginRollup Plugin