@zdb/ui
v0.1.2
Published
* `lib/packages`文件夹下新建组件 * `lib/main.js`导出 ### 发布@zdb/ui至npm * 项目根路径下执行打包命令编译`npm run build` * 更新package.json 版本号 * 终端执行`npm login`登录(OTP在邮箱) * npm publish --access public
Downloads
19
Readme
开发组件流程
开发组件
lib/packages
文件夹下新建组件lib/main.js
导出
发布@zdb/ui至npm
- 项目根路径下执行打包命令编译
npm run build
- 更新package.json 版本号
- 终端执行
npm login
登录(OTP在邮箱) - npm publish --access public
使用@zdb/ui
- 安装
@zdb/ui
docs/components/
各组件就可以正常引入
文档添加组件
docs/components/*/demo.vue
作为使用组件案例docs/components/*/*.md
作为使用组件文档docs/.vitepress/config.ts
中sidebar
添加新增的组件文档目录