mario-ui
v1.9.87
Published
Vue components base on Element-ui
Downloads
280
Maintainers
Readme
在线访问: mario-ui
发布组件库mario-ui
可能需要进入当前文件夹
发布到npm
- 切换源
设置淘宝源
yarn config set registry https://registry.npm.taobao.org
npm config set registry https://registry.npm.taobao.org
推到私库
yarn config set registry http://10.10.1.75:8081/repository/npm-hosted/
npm config set registry http://10.10.1.75:8081/repository/npm-hosted/
username: admin.
password: admin123
email: [email protected]
设置npm源
yarn config set registry http://registry.npmjs.org
忽略node版本
yarn config set ignore-engines true
- webstorm退出当前登录, 重新登录
// logout
yarn logout
// login
yarn login
- 发布mario-ui
yarn publish
- 发布成功后安装/引入/使用
// 安装
yarn add mario-ui
// 引入
import marioUI from 'mario-ui'
import 'mario-ui/lib/mario-ui.css'
// 使用
Vue.use(marioUI)
发布到github
- 用webstorm右键工具双击运行push或full push脚本
- 命令行
// 运行push
yarn run push
// 运行full push, 可以在package.json修改提交信息
yarn run full push
s