react-vite-library-boilerplate
v0.0.2
Published
Create code libraries using React, Typescript, and Vite to automatically release to NPM.
Readme
React Vite Library Boilerplate
Create code libraries using React, Typescript, and Vite to automatically release to NPM.
For example, you could create a component library for a design system (so someone can import { ComponentName } from 'your-custom-library').
Getting Started
Preview the code
- Clone this project:
git clone [email protected]:whoisryosuke/react-vite-library-boilerplate.git - Install dependencies:
yarn - Start the dev server:
yarn dev
Open the app in your web browser: http://localhost:5174/
Write code
Write code in src/ and export any components, functions, etc in the index.ts.
Release
- Bump version in
package.json yarn buildnpm publish
