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 iOnce 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 --httpsTo create a production build:
pnpm buildThe production build can be previewed locally by running:
pnpm previewTo run production build using node:
node buildStorybook 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