Skip to content

Commit

Permalink
Merge branch 'main' into respect-devtools
Browse files Browse the repository at this point in the history
  • Loading branch information
chakAs3 authored Apr 9, 2024
2 parents 5cc88a2 + b7b6e64 commit 21b0d2d
Show file tree
Hide file tree
Showing 8 changed files with 3,873 additions and 341 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
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@
"dependencies": {
"@nuxt/devtools-kit": "^1.0.8",
"@nuxt/kit": "3.9.1",
"@storybook-vue/nuxt": "^0.2.6",
"chalk": "^4.1.2",
"defu": "^6.1.4",
"get-port-please": "^3.1.2"
"get-port-please": "^3.1.2",
"storybook": "^8.0.6"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"storybook": "8.0.0",
"@types/node": "^18.17.5",
"@storybook/vue3": "8.0.0",
"@storybook-vue/nuxt": "0.2.5",
"@storybook-vue/nuxt": "0.2.6",
"@storybook/addon-links": "8.0.0",
"@storybook/builder-vite": "8.0.0",
"@storybook/addon-essentials": "8.0.0",
Expand Down
Loading

0 comments on commit 21b0d2d

Please sign in to comment.