Skip to content

luchaoqun125/vue_lib_rollup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vue-lib-rollup

🛠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

💡 Features

🙏🏻 Support

If you like this project, You can support me with starring ⭐ this repository.

Help author

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

加入群聊

💻 Usage

$ 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

💻 Development library

npm run dev

💻 Link your library to your project

// your library
$ npm link

// to your project, name in package.json
npm link <name>

🏛 Building

  • Building component/library.
$ npm run build
  • Publishing to npm. (Please run npm run build before publish to NPM)
$ npm publish

🖊 References

  1. rollup compilation pluginRollup Plugin Vue
  2. rollup universal pluginRollup Plugin

About

vue+library+rollup = vueSdk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published