Skip to content

Commit 38780b7

Browse files
authored
docs: update examples (#578)
Add the examples contained in this repo, and remove some outdated/dead ones.
1 parent fe44bf7 commit 38780b7

File tree

5 files changed

+29
-25
lines changed

5 files changed

+29
-25
lines changed

docs/content/3.examples/1.basic.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ toc: false
44

55
# Basic Usage
66

7-
Live example of basic usage of Nuxt and Storybook .
7+
Example usage of Nuxt and Storybook.
88

99
---
1010

11-
Here is a minimal example of a Nuxt project using the Storybook module.
11+
This is a minimal example of a Nuxt project using the Storybook module.
1212

13-
:sandbox{src="https://stackblitz.com/edit/nuxt-starter-cvzvzg?file=stories%2FMyNuxtWelcome.stories.ts&embed=1"}
13+
:sandbox{src="https://stackblitz.com/github/nuxt-modules/storybook/tree/main/examples/starter?file=components%2FMyNuxtWelcome.stories.js&embed=1"}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
toc: false
3+
---
4+
5+
# Tailwind CSS
6+
7+
Usage of Storybook with Tailwind CSS.
8+
9+
---
10+
11+
This example shows how to use the [Tailwind CSS module for Nuxt](https://tailwindcss.nuxtjs.org/) in combination with the Storybook module.
12+
13+
:sandbox{src="https://stackblitz.com/github/nuxt-modules/storybook/tree/main/examples/tailwind?file=components%2FSimpleDiv.stories.ts&embed=1"}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
toc: false
3+
---
4+
5+
# Advanced Usage
6+
7+
Advanced examples of using Nuxt with Storybook.
8+
9+
---
10+
11+
This example shows how to use various Nuxt features and modules in combination with the Nuxt Storybook module.
12+
13+
:sandbox{src="https://stackblitz.com/github/nuxt-modules/storybook/tree/main/examples/showcase?file=README.md&embed=1"}

docs/content/3.examples/4.pinia.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/content/3.examples/5.vuetify.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)