Created
July 4, 2019 12:56
-
-
Save evdama/64edd2b458e6526823bd42a5d1527ed2 to your computer and use it in GitHub Desktop.
correct way of using prefetchRoutes?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @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