项目
在 GitHub 查看
IgnacioNMiranda/vite-component-library-template
关于
⚛️ Vite + React Starter Component Library Template
网站与应用开发可以做什么
- 📚 Storybook 9 - Components preview
- 🖌️ Tailwind CSS 4
- ⏩ Vite - Run and build the project blazingly fast!
- ⚡ Vitest - Components Unit Testing
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文⚛️⚡ Vite + React + Typescript Component Library Template
Features
- ♥️ Node 22
- ⚛️ React 19
- 📚 Storybook 9 - Components preview
- 🖌️ Tailwind CSS 4
- ⏩ Vite - Run and build the project blazingly fast!
- ⚡ Vitest - Components Unit Testing
- 📐 Biome - Formatting and Linting
- 🌟 Typescript
- 🐶 Husky & Lint Staged - Pre-commit Hooks
- ⏰ Release Please — Generate the changelog with the release-please workflow
- 👷 Github Actions — Releasing versions to NPM
- Initial components setup using Atomic Design
Getting Started
- Create a new repository using this one as template
- Clone your repo
- Install dependencies with
pnpm i(first runcorepack enableto enable pnpm)
Main Scripts
Always prepending pnpm:
dev: Bootstrap the Storybook preview with Hot Reload.build: Builds the static storybook project.build:lib: Builds the component library into the dist folder.lint: Applies linting based on the rules defined in biome.json.format: Formats files using the biome rules defined in biome.json.test: Runs testing using watch mode.test:cov: Runs testing displaying a coverage report.
Blog Post
I created a post explaning how to set up this library and publish it to a package registry! You can read it here.
Author
License
探索相关项目
加载中…