Be sure Node and NPM are installed. We also use Yarn, but you could use NPM instead.
yarn
The app:
yarn start
The Storybook:
yarn storybook
You could instead run the commands above concurrently by running:
yarn dev
The app:
yarn build
The Storybook:
yarn build-storybook
You could instead run the commands above concurrently by running:
yarn prod
yarn test
Be sure you created a .env
file with:
CHROMATIC_APP_CODE=xxxxxxxx
Then you can run:
yarn chromatic
The result is visible here.