Skip to content

Commit f38bee7

Browse files
committed
docs: add back links to <picture>
1 parent 4fae021 commit f38bee7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/content/2.usage/2.nuxt-picture.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ links:
88
size: xs
99
---
1010

11+
`<NuxtPicture>` is a drop-in replacement for the native `<picture>` tag.
12+
1113
Usage of `<NuxtPicture>` is almost identical to [`<NuxtImg>`](nuxt-img) but also allows serving modern formats like `webp` when possible.
1214

15+
Learn more about the [`<picture>` tag on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture).
16+
1317
::callout{icon="i-heroicons-exclamation-triangle" color="amber"}
1418
Unlike the native [`<picture>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture), `<NuxtPicture>` currently doesn't support using multiple image sources. See [#309](https://github.com/nuxt/image/issues/309) for more info.
1519
::

0 commit comments

Comments
 (0)