You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Opening this issue as a way of tracking a "migration guide" from Sapper to Kit.
One idea I've been thinking about is a package called @sveltejs/backport which you can install to "polyfill" methods/functions/behaviour/utilities which have been removed/renamed/signature-adusted. You can then strip out legacy over time, eventually uninstalling the package, rather than trying do delay until you have time to migrate larger apps.
This might be impossible though, but either way, we should have a living migration step list:
Remove rollup.config.js or webpack.config.js. Add any custom config to vite.config.js
Replace imports from @sapper/app to imports from... wherever we end up putting stuff ($app?)
If you have src/node_modules/components, move it to src/components and update the import path to $components
Opening this issue as a way of tracking a "migration guide" from Sapper to Kit.
One idea I've been thinking about is a package called
@sveltejs/backport
which you can install to "polyfill" methods/functions/behaviour/utilities which have been removed/renamed/signature-adusted. You can then strip out legacy over time, eventually uninstalling the package, rather than trying do delay until you have time to migrate larger apps.This might be impossible though, but either way, we should have a living migration step list:
@sapper/app
to imports from... wherever we end up putting stuff ($app
?)src/node_modules/components
, move it tosrc/components
and update the import path to$components
load
(fkapreload
) (Implement load #272)render
/prerender
methods#svelte
target element (provide element to render to - closes #154 #157).preloading
/navigating
store (stores.preloading -> stores.navigating #215)stores
vsgetStores
(Consider renaming getStores back to stores #187)svelte-kit adapt
(create separate svelte-kit adapt command #221)$
instead of_
The text was updated successfully, but these errors were encountered: