基于element-plus的vue3组件库
yarn add checc-element-plus
import { createApp } from 'vue'
import App from './App.vue'
import CheccElementPlus from 'checc-element-plus'
import 'checc-element-plus/lib/index.esm.css'
createApp(App).use(CheccElementPlus).mount('#app')
<template>
<cel-button/>
</template>
nodejs ^12
开始
yarn install
yarn sb
打开http://localhost:6006/
添加组件包
yarn package:add <packageName>
删除组件包
yarn package:remove <packageName>
代码提交
yarn commit
更新提交日志
yarn changelog
发布组件库(需先确保yarn源为私服地址,且需已注册账号)
yarn build
yarn publish
组件预览及文档地址
http://10.25.183.251:100/