Skip to content

Commit 3a5f8e2

Browse files
committed
update package name, add installation instructions
1 parent 645653d commit 3a5f8e2

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,24 @@
11
# Storybook Addon StackBlitz
22
Create a one-click Pull Request environment right from your component
33

4-
## How to use it?
4+
## Installation
5+
6+
yarn:
7+
```bash
8+
yarn add --dev @stackblitz/storybook-addon-stackblitz
9+
```
10+
11+
npm:
12+
```bash
13+
npm install @stackblitz/storybook-addon-stackblitz --save-dev
14+
```
15+
16+
pnpm:
17+
```bash
18+
pnpm add --save-dev @stackblitz/storybook-addon-stackblitz
19+
```
20+
21+
## Usage
522

623
Add the following to your `.storybook/main.ts` exports:
724

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "storybook-addon-stackblitz",
2+
"name": "@stackblitz/storybook-addon-stackblitz",
33
"version": "0.0.0",
44
"description": "Create a one-click Pull Request environment right from your component",
55
"keywords": [

0 commit comments

Comments
 (0)