一个对 element plus 扩展的组件库,解决部分组件太屎或延展性太差的问题。
组件需通过 es6 module 形式引入,本身项目环境需按照vue-boilerplate进行配置。
npm install @deepberry/vue3-element-extend
import { UploadImage } from "@deepberry/vue3-element-extend";
export {components : UploadImage}
import { UploadImage } from "@deepberry/vue3-element-extend";
app.component("UploadImage", UploadImage);
import DeepBerryUI from "@deepberry/vue3-element-extend";
app.use(DeepBerryUI);
查看对应组件属性与事件等 https://admin.deepberry.cn/vue3-element-extend
- src/components/下创建
- src/stories 下编写 story
- index.js 添加 export
npm install
npm run serve
npm run storybook
- 测试模块