Skip to content

Commit

Permalink
docs: add public assets section
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelodelain committed Mar 19, 2024
1 parent 1904f00 commit b3d035d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@ That's it! You can now use Nuxt stories in your Nuxt app ✨
- type: `string | string[]`
- default: `['components', 'stories']`

## Assets

You can add assets to your stories by adding a `stories` folder in the `/server` directory.
All the assets in this folder will be available as public assets with the prefix `/stories`.
You can use it like the `/public` folder in the Nuxt app, but the folder will be available only when the stories are available too.

```bash

## Development

```bash
Expand Down

0 comments on commit b3d035d

Please sign in to comment.