aviana-uikit-vue
v1.2.1
Published
Aviana 前端UI套件, 基于Element UI二次开发
Downloads
215
Readme
aviana-uikit-vue
Aviana前端UI组件,基于Element UI的二次封装
** 依赖版本 **
Vue: 2.6.12
ElementUI: 2.13.2
** 发布 NPM 包到 Github Packages **
- 在Github申请一个 TOKEN, 用来发布和获取npm包
- 在本项目的根目录添加 .npmrc 文件,并添加如下配置 registry=https://npm.pkg.github.com //npm.pkg.github.com/:_authToken=TOKEN
- 在 package.json 中更新版本号, npm run build:lib 打包库文件
- npm publish 发布包到 Github
** 其他工程获取 NPM 包 **
- 在 package.json 添加依赖 "@ucloudcastle/aviana-uikit-vue": "^x.x.x"
- 拷贝本项目下的 .npmrc 文件
- npm install
** 发布 NPM 包到 npmjs **
- 到 https://www.npmjs.com/ 注册账户并申请 Token, 用来发布和获取npm包
- 在本项目的根目录添加 .npmrc 文件,并添加如下配置 registry=http://registry.npmjs.org //registry.npmjs.org/:_authToken=TOKEN
- 在 package.json 中更新版本号, npm run build:lib 打包库文件
- npm publish 发布包到 npmjs
** 其他工程获取 NPM 包 **
- 在 package.json 添加依赖 "aviana-uikit-vue": "^x.x.x"
- npm install