Creating an app

To create your first Routify app, open an empty folder and type

npx @sveltech/routify init
npx @sveltech/routify init

This will install the Routify starter template .

Bundled examples

The Routify starter comes with an example folder ( src/pages/examples ).

You can experiment with these examples or just keep them as references.

When you're ready to get started on your app, simple delete the contents of src/pages/index.svelte and add your own. You will still be able to access the examples on http://localhost:5000/examples .

When you don't need the examples anymore you can simply delete the examples folder.

We recommend reading the Introduction before creating your first app.

Writing good documentation that is up-to-date is difficult. If you notice a mistake, help us out.