Home

Awesome

<div align='center' ><h2>Component library template</h2></div> <div align='left' > Component library template developed based on <code>Vue3</code>, <code>VitePress</code>, <code>Rollup</code>, <code>Gulp</code> and other mainstream technologies<br/> Built-in packaging components, Hooks, Utils, which can be introduced on demand, support TypeScript, and enable all attention to focus on document writing and component development.<br/> Built-in VitePress theme eliminates the trouble of writing style, with its own night mode, and can customize the theme. </div> <br/> <p align='center'> <b>English</b> | <a href="https://github.com/jsxiaosi/xs-components-lib/blob/main/README.zh-CN.md">简体中文</a> </p>

Docs

https://xs-com-lib.netlify.app

Features

Prepare

Installation and use

git clone https://github.com/jsxiaosi/xs-components-lib.git

git clone git@github.com:jsxiaosi/xs-components-lib.git

Alternatively, you can use the xs-clito quickly create one

npx @jsxiaosi/xs-cli create [project-name]
pnpm install

Developer

npm run dev
npm run docs:dev
npm run ct 'Component name'

Production

npm run build
npm run docs:build

Git Contribution submission specification

npm run cz

Specification related

Catalogue

.
├── LICENSE
├── README.md
├── build
├── commitlint.config.js
├── docs                                # Vitepress document directory
├── effect                              # Commissioning template
├── lib
├── node_modules
├── package-lock.json
├── package.json
├── packages                            # Common component directory
│   ├── components                      # Component storage directory
│   ├── hooks                           # Hooks storage directory
│   ├── theme-default                   # Component style storage directory
│   ├── utils                           # Public method storage directory
├── postcss.config.js
├── prettier.config.js
├── script
├── stylelint.config.js
├── tsconfig.json
└── typings

Thanks for the help of the following excellent projects

maintainers

@jsxiaosi

License

MIT © 2022