sveltekit-commerce icon indicating copy to clipboard operation
sveltekit-commerce copied to clipboard

bug: august sveltekit breaking `routes` and `load` changes

Open ryanrussell opened this issue 2 years ago • 3 comments

Opening an issue around the breaking changes in the latest version of SvelteKit.

  • index.svelte -> +page.svelte
  • Eliminate context="module"
  • +server.js for backend
  • etc...

Is there already an advocate at Vercel taking on these template updates? Or is the intent for the community to maintain breaking changes moving forward?

Thanks for any guidance!

ryanrussell avatar Aug 21 '22 13:08 ryanrussell

Hey! Thanks for putting this together. We're open to community contributions 😄

leerob avatar Aug 21 '22 20:08 leerob

Hey! Thanks for putting this together. We're open to community contributions smile

Doing the same upgrade for some of my own projects right now.

If someone else gets to this first, Ben McCann put together a roadmap on upgrading here: https://github.com/sveltejs/realworld/pull/123

If this hasn't been done by the time I get some extra cycles, will send a PR to bring this demo to functional on the latest build...

ryanrussell avatar Aug 22 '22 13:08 ryanrussell

Starting here, not ready yet though https://github.com/vercel/sveltekit-commerce/pull/20

leerob avatar Aug 23 '22 03:08 leerob

This has been released!

leerob avatar Sep 17 '22 15:09 leerob