Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 576 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 576 Bytes

Create a React Library with TypeScript and Vite

This repository is an example of a React library created with TypeScript and Vite.

Getting Started

First, install the dependencies of the monorepo:

yarn install

Build the library:

cd packages/my-lib && yarn build

Run the development server of the test project:

cd sites/my-site && yarn dev

Open http://localhost:3000 with your browser to see the result.

If you want to start the storybook server, run:

cd packages/my-lib && yarn storybook