Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 865 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 865 Bytes

功能组件包开发基础模板

脚手架

vue init doctorwork/package expert
开发
  • 当前目录执行 npm link 或者 cnpm link
  • 项目目录 package.json 中 手动添加当前组件包名称和版本, 然后执行 npm link [package] ,即可再项目中使用了。
// 比如包名为 expert
npm link expert
发布/使用
cnpm i -S git+ssh://git@59.151.4.126:insane/expert.git
发布 library 版本 (bower)