v3.2.0 GitHub

Router links

To add link to the another route you can use RouterLink component.

import { RouterLink } from '@easyroute/svelte';
</script>

<RouterLink to={'/route'} />

"to" prop is an url where you want to navigate. You can use query parameters here, like: