Following tools should be pre-installed:
pnpm is used as a package manager, since it's a more efficient alternative to npm.
Install project's dependencies using a following command:
pnpm i
Once you've cloned a repository and installed dependencies, start a development server:
pnpm dev
# or start the server and open the app in a new browser tab
pnpm dev --open
# or start the server under HTTPS
pnpm dev --https
To create a production build:
pnpm build
The production build can be previewed locally by running:
pnpm preview
To run production build using node
:
node build
Storybook is used a primary tool for developing UI components in isolation. This allows to describe all necessary states of the component to test it accordingly.
To start storybook run:
pnpm storybook