Skip to content

Commit

Permalink
fix migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Nov 27, 2022
1 parent bb356d9 commit cfe78b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/docs/60-appendix/10-migrating.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Your custom error page component should be renamed from `_error.svelte` to `+err

#### Imports

The `goto`, `prefetch` and `prefetchRoutes` imports from `@sapper/app` should be replaced with `goto`, `preload` and `prepare` imports respectively from [`$app/navigation`](/docs/modules#$app-navigation).
The `goto`, `prefetch` and `prefetchRoutes` imports from `@sapper/app` should be replaced with `goto`, `preloadData` and `preloadCode` imports respectively from [`$app/navigation`](/docs/modules#$app-navigation).

The `stores` import from `@sapper/app` should be replaced — see the [Stores](/docs/migrating#pages-and-layouts-stores) section below.

Expand Down

0 comments on commit cfe78b2

Please sign in to comment.