matmunn / base64-display

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Base64 Display

This is a quick little Svelte project that can render images from their base64-encoded data.

Get started

Install the dependencies...

cd base64-display
npm install

...then start Rollup:

npm run dev

Navigate to localhost:5000. You should see your app running. Edit a component file in src, save it, and reload the page to see your changes.

Building and running in production mode

To create an optimised version of the app:

npm run build

You can run the newly built app with npm run start. This uses sirv, which is included in your package.json's dependencies so that the app will work when you deploy to platforms like Heroku.

About


Languages

Language:JavaScript 55.5%Language:CSS 26.0%Language:HTML 10.6%Language:Svelte 5.2%Language:TypeScript 2.8%