Retour au classement
Plug-and-play image optimization for Nuxt applications.
image-optimizationnuxtnuxt-modulehacktoberfest
Indicateurs clés
Croissance des étoiles
Étoiles
1.5k
Forks
326
Croissance hebdomadaire
—
Issues
234
5001k1.5k
sept. 2020août 2021août 2022août 2023août 2024juil. 2025juil. 2026
Artefactsnpm
npm install imageREADME
Nuxt Image
Plug-and-play image optimization for Nuxt apps. Resize and transform your images using built-in optimizer or your favorite images CDN.
Features
<nuxt-img>drop-in replacement for the native<img>element<nuxt-picture>drop-in replacement for the native<picture>element.- Built-in image resizer and transformer with unjs/ipx
- Support 20+ providers
- Generate responsive sizes
- Optimize using modern formats such as webp and avif
- ... and more
Installation
Install @nuxt/image dependency to your project:
npx nuxt module add image
Nuxt 2
Note: This branch is for Nuxt 3 compatible module. Checkout v0 branch for Nuxt 2 support. (Announcement)
Contributing
- Clone this repository
- Enable Corepack using
corepack enable - Install dependencies using
pnpm install - Run
pnpm dev:prepareto generate type stubs. - Use
pnpm devto start playground in development mode.
📑 License
Published under the MIT License
Dépôts similaires
