- CLAUDE.md 운영 규칙 - wiki/ 정리된 지식 페이지 (Nuxt + Claude Code) - raw/ 원본 자료 - reference/ Nuxt 4.x 공식 문서 Co-authored-by: Cursor <cursoragent@cursor.com>
923 B
923 B
title, description, links
| title | description | links | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| <NuxtPicture> | Nuxt provides a <NuxtPicture> component to handle automatic image optimization. |
|
<NuxtPicture> is a drop-in replacement for the native <picture> tag.
Usage of <NuxtPicture> is almost identical to <NuxtImg> but it also allows serving modern formats like webp when possible.
Learn more about the <picture> tag on MDN.
Setup
In order to use <NuxtPicture> you should install and enable the Nuxt Image module:
npx nuxt module add image
::read-more{to="https://image.nuxt.com/usage/nuxt-picture" target="_blank"}
Read more about the <NuxtPicture> component.
::