this is a basic todo-application built in the svelte framework
if using yarn
git clone https://github.com/paakofiaidoo/todo-svelte-app
cd svelte-app
yarn
yarn dev
if using npm
git clone
cd svelte-app
npm install
npm run dev
Note that you will need to have Node.js installed.
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.
If you're using Visual Studio Code we recommend installing the official extension Svelte for VS Code. If you are using other editors you may need to install a plugin in order to get syntax highlighting and intellisense.
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.
``
To create a new project based on this template using degit:
npx degit sveltejs/template svelte-app
cd svelte-app