si-ws-public-cmp
v1.0.26
Published
A Vue 2 component library with Key250, Key251, Key252, Key253 components
Maintainers
Readme
si-ws-public-cmp — 开发步骤
使用记录 父组件必传当前项目的 http 请求方式,httpClient
先决条件
- Node.js >= 12
安装依赖
推荐使用 pnpm:
pnpm install
# 或
npm install
# 或
yarn install本地开发
# 启动开发服务器(根据项目配置可能是 start 或 dev)
arduino
npm config set registry=https://registry.npmjs.org
务必设置该源
npm adduser
npm run build
# 发布npm包
npm publish
每次开发完打包后直接提交,需要提交dist目录,并且手动新增版本号。
目录结构
si-ws-public-cmp/ ├── src/ │ ├── components/ │ │ ├── Key250.vue │ │ ├── Key251.vue │ │ ├── Key252.vue │ │ └── Key253.vue │ └── index.js ├── package.json ├── vue.config.js (可选) └── README.md
