2021-02-23 00:26:03 +00:00

19 lines
644 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Use the Storybook CLI to install it in a single command. Run this inside your existing Vue 2 projects root directory:
```shell
# Add Storybook:
npx -p @storybook/cli sb init
```
For Vue 3 projects, run this inside your projects root directory:
```shell
# Add Storybook 🔥 pre-release 🔥 version:
npx sb@next init
```
This command installs the latest pre-release version of Storybook with a new package (📦 [`@storybook/vue3`](https://www.npmjs.com/package/@storybook/vue3)), created specifically for Vue 3.
If you run into issues with the installation, check the troubleshooting section below for guidance on how to solve it.