nuxt-og-image
Enlightened runtime images generated with Vue templates, for Nuxt.
Status: v2 Released Please report any issues π Made possible by my Sponsor Program π Follow me @harlan_zw π¦ β’ Join Discord for help |
Features
- β¨ Turn your Vue components into
og:image
templates - π¨ Design them in the OG Image Playground with full HMR
- β² Render using Satori: Tailwind classes, Google fonts, emoji support and more!
- π€ Or prerender using the Browser: Supporting painless, complex templates
- πΈ Feeling lazy? Just generate screenshots for every page: hide elements, wait for animations, and more
- βοΈ Works on the edge: Vercel Edge, Netlify Edge and Cloudflare Workers
Installation
- Install
nuxt-og-image
dependency to your project:
#
yarn add -D nuxt-og-image
#
npm install -D nuxt-og-image
#
pnpm i -D nuxt-og-image
- Add it to your
modules
section in yournuxt.config
:
export default defineNuxtConfig({
modules: ['nuxt-og-image']
})
Playgrounds
Documentation
π Read the full documentation for more information.
Sponsors
License
MIT License Β© 2023-PRESENT Harlan Wilton