Skip to content

Commit

Permalink
docs: update static/ dir to public/ (#558)
Browse files Browse the repository at this point in the history
* Docs: Clarify example of adding static image

Different folder structure (static or public) based on Nuxt versions

* Update docs/content/2.components/1.nuxt-img.md

Co-authored-by: pooya parsa <[email protected]>
  • Loading branch information
dosstx and pi0 authored Jul 8, 2022
1 parent 07c4355 commit c5e7b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/2.components/1.nuxt-img.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Will result in:
```

::alert{type="info"}
With [default provider](/getting-started/providers#default-provider), you should put `/nuxt-icon.png` inside `static/` directory to make the above example work.
With [default provider](/getting-started/providers#default-provider), you should put `/nuxt-icon.png` inside `public/` directory for Nuxt 3 make the above example work.
::

## Props
Expand Down

0 comments on commit c5e7b08

Please sign in to comment.