0.3.0 • Published 2 years ago
@meticoeus/svelte-photoviewer v0.3.0
svelte photo-viewer
Create a Google Photos-esque image gallery. This can be used with Vanilla JS, as well as within a Svelte project. This is an updated fork of https://github.com/psnszsn/svelte-photoviewer converted to Typescript.
Demo
https://meticoeus.github.io/svelte-photoviewer
Developing
Install dependencies with npm install, then start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --openUpdate the library in src/lib.
Update the preview in src/routes.
Building
To build your library:
npm run packageTo create a production version of your showcase app:
npm run buildYou can preview the production build with npm run preview.
To deploy your app, you may need to install an adapter for your target environment.
Publishing
To publish an update npm:
npm publish