Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

⚛️ Vite + React Starter Component Library Template

License

NotificationsYou must be signed in to change notification settings

IgnacioNMiranda/vite-component-library-template

Repository files navigation

Features

Getting Started

  1. Create a new repository using this one as template
  2. Clone your repo
  3. Install dependencies withpnpm i (first runcorepack 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 thedist folder.
  • lint: Applies linting based on the rules defined inbiome.json.
  • format: Formats files using the biome rules defined inbiome.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 ithere.

Author

Ignacio Miranda Figueroa

License

MIT


[8]ページ先頭

©2009-2025 Movatter.jp