/my-sapper-ts-template

simple template to use with degit

Primary LanguageTypeScript

sapper-template

My default template for setting up a Sapper project with rollup and TS.

Using degit

To create a new Sapper project based on Rollup locally, run

npx degit "Doener48/my-sapper-ts-template" my-app

degit is a scaffolding tool that lets you create a directory from a branch in a repository.

Replace my-app with the path where you wish to create the project.

Running the project

Once you have created the project, install dependencies and run the project in development mode:

cd my-app
npm install
npm run dev

This will start the development server on localhost:3000. Open it and click around.

You now have a fully functional Sapper project! To get started developing, consult sapper.svelte.dev.

Credits

Completely based on this template.