Svelte/Sapper dynamic client-side routing
I found it here in the docs:
import { goto } from 'sapper/runtime.js';
goto('/my-page');
For Svelte-3:
import { goto } from '@sapper/app'
goto('/profiles')
I found it here in the docs:
import { goto } from 'sapper/runtime.js';
goto('/my-page');
For Svelte-3:
import { goto } from '@sapper/app'
goto('/profiles')