@nuxt-photo/nuxt
v0.1.2
Published
Photo galleries, lightboxes, and provider-aware image rendering for Nuxt.
Maintainers
Readme
@nuxt-photo/nuxt
Nuxt module for Nuxt Photo.
Install this package when you want the default Nuxt experience: auto-registered components, auto-imported helpers, and CSS wiring from one module entry.
Install
pnpm add @nuxt-photo/nuxtRegister the module in nuxt.config.ts:
export default defineNuxtConfig({
modules: ['@nuxt-photo/nuxt'],
})What it provides
- auto-registered recipe components like
<PhotoAlbum>and<PhotoGroup> - opt-in primitive auto-registration for advanced lightbox composition
- auto-imported
useLightbox,useLightboxProvider, andresponsive - optional
@nuxt/imageintegration - structure-only or full-theme CSS loading
Optional @nuxt/image
Add @nuxt/image when you want provider-backed image rendering and generated srcset values:
export default defineNuxtConfig({
modules: ['@nuxt/image', '@nuxt-photo/nuxt'],
})