1.0.3 • Published 3 years ago

zhao-uitry-other v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

hktest

快速上手

npm用到的命令

  • npm init -y 按照默认的初始化 会生成package.json文件
  • npm login 登陆npm账号
  • npm publish 发布到npm库
  • 修改package.json文件中的 "version" 再执行npm publish 可以再次发布
  • npm publish 就是根据package.json发布的

在其他项目中如何使用

    1. 第一步:npm i zhao-uitry-other
  • 2.第二步:
//main.js 文件
import ZhaoUi from 'zhao-uitry-other';
console.log('ZhaoUi',ZhaoUi)
Vue.use(ZhaoUi); //调用 'zhao-uitry' 暴露的 install 方法 ;ZhaoUi如果是一个方法 会被当作install方法  

//Home.vue文件
<PigButton></PigButton>
<PigSelect />
1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago