pandora 组件库
yarnBenefited from
vite-plugin-pages, thesrc/pages/index.vueis the entry page for development. You can visit/[component-name]/demoto check component, likehttp://localhost:3000/#/button/demo.
yarn devyarn buildyarn test入口文件是 rollup 的
input选项。
yarn gen-entry您必须为此命令指定组件名称。
yarn gen [component\'s name]npx esno ./scripts/gen-dts.tsThis command will add git tag、generate changelog. You can test your lib with argument
--dry
yarn release [--dry]❗ Noted: you should run
yarn build:libbefore run this command. Because the docs need the build bundle.
yarn docs:devyarn docs:build<script setup> is a feature that is currently in RFC stage. To get proper IDE support for the syntax, use Volar instead of Vetur (and disable Vetur).