Skip to content

Commit

Permalink
docs: update examples (#578)
Browse files Browse the repository at this point in the history
Add the examples contained in this repo, and remove some outdated/dead
ones.
  • Loading branch information
tobiasdiez committed May 10, 2024
1 parent fe44bf7 commit 38780b7
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 25 deletions.
6 changes: 3 additions & 3 deletions docs/content/3.examples/1.basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ toc: false

# Basic Usage

Live example of basic usage of Nuxt and Storybook .
Example usage of Nuxt and Storybook.

---

Here is a minimal example of a Nuxt project using the Storybook module.
This is a minimal example of a Nuxt project using the Storybook module.

:sandbox{src="https://stackblitz.com/edit/nuxt-starter-cvzvzg?file=stories%2FMyNuxtWelcome.stories.ts&embed=1"}
:sandbox{src="https://stackblitz.com/github/nuxt-modules/storybook/tree/main/examples/starter?file=components%2FMyNuxtWelcome.stories.js&embed=1"}
13 changes: 13 additions & 0 deletions docs/content/3.examples/2.tailwind.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
toc: false
---

# Tailwind CSS

Usage of Storybook with Tailwind CSS.

---

This example shows how to use the [Tailwind CSS module for Nuxt](https://tailwindcss.nuxtjs.org/) in combination with the Storybook module.

:sandbox{src="https://stackblitz.com/github/nuxt-modules/storybook/tree/main/examples/tailwind?file=components%2FSimpleDiv.stories.ts&embed=1"}
13 changes: 13 additions & 0 deletions docs/content/3.examples/3.showcase.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
toc: false
---

# Advanced Usage

Advanced examples of using Nuxt with Storybook.

---

This example shows how to use various Nuxt features and modules in combination with the Nuxt Storybook module.

:sandbox{src="https://stackblitz.com/github/nuxt-modules/storybook/tree/main/examples/showcase?file=README.md&embed=1"}
11 changes: 0 additions & 11 deletions docs/content/3.examples/4.pinia.md

This file was deleted.

11 changes: 0 additions & 11 deletions docs/content/3.examples/5.vuetify.md

This file was deleted.

0 comments on commit 38780b7

Please sign in to comment.