A Vue Storybook Starter project that is setup with the a11y, Jest, Controls, Percy, and StoryShots addons.
- Run
npm install
to download dependencies. - Run
npm run test
to run Jest and StoryShots.- We need to do this before running storybook in order to generate the
.jest-test-results.json
file, which is used by the Jest Storybook Addon.
- We need to do this before running storybook in order to generate the
- Run
npm run storybook
to run Storybook locally. You should see a new browser tab open with Storybook running. - Run
npm run snapshot
to generate Percy snapshots. You will need a Percy account with a project and yourPERCY_TOKEN
for authentication.