auth-example

An admin page using guard hooks.

This example demonstrates how to utilize the `load` hook to fetch and return data via a "props" object. Navigate to data.svelte to see how we retrieve data from a Star Wars API and make it accessible for our component.

prefetch data on hover

data-fetching

Fetch data with the load hook before component render.

Visit counter

0

Revisit

history

meta.history allows navigating between previous route states. Try click Revisit and then navigate back.

inline-params

Using <slot inline={{params}} />, we can pass 4 city names. This will create 4 instances of inline-params/[city].

Inline vs Standalone

An example combining inline and standalone pages

landing-page

A landing page showing inline pages.

multi-router

[theme]