You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

780 B

1. 使用脚手架 create-vlib

快速创建 Vue 组件库的脚手架。

yarn create vlib

Features

  • 基于vitepress-for-component一键启动开发环境,一键生成文档。
  • 基于vite一键打包。
  • 使用np发布版本(非常 nice 的发布工具)。
  • 使用gh-pages一键发布 github.io 文档。
  • 集成eslint prettier ls-lint 等 lint 工具。
  • 集成husky conventional-changelog-cli等工具。

模板

三种模板可以选择:

  • vue-multiple-components Vue 组件(多个)。
  • vue-single-component Vue 组件(单个)。
  • ts-lib TS 库。

2. 不使用脚手架

像 vitepress 一样使用即可。