xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

vue & npm & components & plugins

vue & npm & components & plugins

how to publish an vue ui component to npm?

https://www.telerik.com/blogs/vuejs-how-to-build-your-first-package-publish-it-on-npm

https://github.com/nrifki/nice-handsome-button

https://github.com/nrifki/vue-flags

# cli
$ yarn global add @vue/cli

$ yarn global remove @vue/cli


# install cli
$ yarn global add @vue/cli
$ yarn global add @vue/cli-service-global

# uninstall cli
$ yarn global remove @vue/cli

# dev build tools
$ yarn add -D bili rollup-plugin-vue vue-template-compiler






TODO list

  1. pass event to CropCard Components

  2. export components, publish to npm

crop 作物

https://www.npmjs.com/package/vue-crop-card

corp 公司

https://www.npmjs.com/package/vue-corp-card



©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


posted @ 2019-05-22 23:53  xgqfrms  阅读(304)  评论(10编辑  收藏  举报