Open skandragon opened 2 years ago
Some apps use both svelte-meteor-data and melte, so it isn't necessary to migrate (the app from meteor create --svelte
even comes with both). Though if anyone wants to, feel free to open a PR to add a migration guide.
It may be useful to have a guide to migrate from rdb:svelte-meteor-data to zodern:melte. Some suggestions:
No need for $var
In svelte-meteor-data, one uses:
and then in the HTML:
In Melte, this would become:
and
No need to include anything
You do not need to include anything for
$m:
to work.Remove rdb:svelte-meteor-data and svelte-compiler
You may also want to install typescript and svelte-preprocess: