Creating an app

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

npx @roxi/routify init
npx @roxi/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, simply delete the contents of src/pages/index.svelte and add your own. You will still be able to access the examples at 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.