Skip to content
项目

IgnacioNMiranda/vite-component-library-template

在 GitHub 查看

关于

⚛️ 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

Getting Started

  1. Create a new repository using this one as template
  2. Clone your repo
  3. Install dependencies with pnpm i (first run corepack enable to 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

Ignacio Miranda Figueroa

License

MIT

探索相关项目

加载中…