beehive-ui
v1.0.10
Published
vue组件库
Downloads
5
Readme
beehive-ui
运行打包Example
# 安装依赖
npm install
# 本地运行
npm run dev
# 打包
npm run build
打包组件&样式
# 打包组件
npm run build:component
# 打包CSS
npm run build:style
发布到npm
# 登录npm
npm login
# 发布组件到npm
# 需要修改package.json version属性值
npm publish
# 更新本地ui库依赖
npm update beehive-ui --force
unpkg是一个内容源自npm的公用CDN
unpkg js路径: https://unpkg.com/beehive-ui/dist/beehive-ui.js
unpkg css路径: https://unpkg.com/beehive-ui/dist/styles/beehive-ui.css
目录结构
npm打包上传报错处理方法
no_perms only allow publish with @iqiyi scope(s): beehive-ui
报错原因:npm不对
查看镜像:
npm config get registry
查看registry默认 http://npm.qiyi.domain:7001/解决方法:
npm config set registry http://registry.npmjs.org/