Skip to content

Latest commit

 

History

History
64 lines (41 loc) · 1.12 KB

README.md

File metadata and controls

64 lines (41 loc) · 1.12 KB

san-queries

Requirements

Following tools should be pre-installed:

  • Node.js >= v20.10.0 – JavaScript runtime environment
  • pnpm >= v8.x – package manager

Installation

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

Developing

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

Building

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

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