Skip to content

Commit

Permalink
docs: use new nuxi module add command in installation (#514)
Browse files Browse the repository at this point in the history
Co-authored-by: Chakir QATAB <javachakir@gmail.com>
  • Loading branch information
danielroe and chakAs3 committed Apr 9, 2024
1 parent 04a8f14 commit d269f52
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Integrate [Storybook](http://storybook.js.org) into your [Nuxt](https://nuxt.com
## Installing

```
pnpm add -D @nuxtjs/storybook
npx nuxi@latest module add storybook
```

Update your `nuxt.config`:
Expand Down
2 changes: 1 addition & 1 deletion docs/content/0.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cta:
secondary:
- Star on GitHub →
- https://github.com/nuxt-modules/storybook
snippet: pnpm add -D @nuxtjs/storybook
snippet: npx nuxi@latest module add storybook
---

#title
Expand Down
17 changes: 2 additions & 15 deletions docs/content/1.getting-started/1.setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,10 @@ Using Storybook in your Nuxt project is only one command away ✨
## Installation

1. Install `@nuxtjs/storybook` dependency to your project:

::code-group

```bash [yarn]
yarn add -D @nuxtjs/storybook
```

```bash [npm]
npm install -D @nuxtjs/storybook
```

```sh [pnpm]
pnpm i -D @nuxtjs/storybook
```bash
npx nuxi@latest module add storybook
```

::

2. Add it to your `modules` section in your `nuxt.config`:

::code-group
Expand Down

0 comments on commit d269f52

Please sign in to comment.