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