svelte-github-api Svelte Themes

Svelte Github Api

A demo app that pulls info from the GitHub API using Svelte.

svelte-github-api

A demo app that pulls info from the GitHub API using Svelte.

Get started

Install the dependencies...

cd svelte-app
npm install

...then start Rollup:

npm run dev

Navigate to localhost:5000. You should see your app running.

Building and running in production mode

To create an optimized 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.

Top categories

Loading Svelte Themes