Vue.js修改第三方组件并引用

修改第三方组件

vue-ydui为例

(1)fork clone 或 直接clone并create repository
(2)npm install
(3)修改并调试vue-ydui项目
(4)npm run build
(5)commit & push

引用第三方组件

配置 package.json

1
2
3
"dependencies": {
"vue-ydui": "git+https://github.com/iyezhou/vue-ydui.git",
},

1
2
3
"dependencies": {
"vue-ydui": "git+https://github.com/iyezhou/vue-ydui.git#commit_id",
},

Powered by AppBlog.CN     浙ICP备14037229号

Copyright © 2012 - 2020 APP开发技术博客 All Rights Reserved.

访客数 : | 访问量 :