Skip to content

nicolaserny/react-library-vite-example

Repository files navigation

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

About

Create a React library with Vite and Typescript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published