0.3.0 • Published 6 months ago

@meticoeus/svelte-photoviewer v0.3.0

Weekly downloads
-
License
-
Repository
github
Last release
6 months ago

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 -- --open

Update the library in src/lib. Update the preview in src/routes.

Building

To build your library:

npm run package

To create a production version of your showcase app:

npm run build

You 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
0.3.0

6 months ago

0.2.0

6 months ago