svelte-feedback-example-app Svelte Themes

Svelte Feedback Example App

Svelte Feedback Example App

This is an example app that demonstrates how to use Svelte to build a feedback form.

The code is based off a Traversy Media tutorial on Svelte Crash Course, with a few customizations.

Get started

Install the dependencies...

cd svelte-feedback-example-app
npm install

...then start Rollup:

npm run dev

Navigate to localhost:8080. You should see the Svelte Feedback Example App running.

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.

Top categories

Loading Svelte Themes