Skip to content

POC: Preload base64 image thumbnails -Svelte + Rollup

License

Notifications You must be signed in to change notification settings

snubydev/svimage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

That is this?

LazyImage.svelte component preloads inlined base64 thumbnail image, blur it and shows full image version after it is loaded

src/img/convert.js has a list of images to convert to base64 before running npm/yarn build or start (or dev)

1) Run before start:
    node src/img/convert.js
2) Run the project
   yarn install
   yarn dev

About

POC: Preload base64 image thumbnails -Svelte + Rollup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published