0.0.2 • Published 3 years ago
svelte-kit-nav v0.0.2
simple svelte kit nav function
<script lang=ts>
import nav from "svelte-kit-nav";
// nav(to: string):void
</script>
<button
on:click={() => {
nav("/other-url/");
}}
></button>
<script lang=ts>
import nav from "svelte-kit-nav";
// nav(to: string):void
</script>
<button
on:click={() => {
nav("/other-url/");
}}
></button>