Consume in the app (import + tag)
How a Vite app would use the lib: register and mount the gallery.
Aqui o “import” é o próprio script do playground. No Vite: um import ESM + a tag no HTML/JSX.
HTML
CSS
JavaScript
Live preview
How a Vite app would use the lib: register and mount the gallery.
Aqui o “import” é o próprio script do playground. No Vite: um import ESM + a tag no HTML/JSX.