Skip to content

Instantly share code, notes, and snippets.

@evdama
Created July 4, 2019 12:56
Show Gist options
  • Save evdama/64edd2b458e6526823bd42a5d1527ed2 to your computer and use it in GitHub Desktop.
Save evdama/64edd2b458e6526823bd42a5d1527ed2 to your computer and use it in GitHub Desktop.
correct way of using prefetchRoutes?
// @ts-nocheck
import * as sapper from '@sapper/app';
sapper.start( {
target: document.querySelector( '#sapper' )
} ).then( prefetchRoutes() );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment