pixelmund / svemix

The Full-Stack addition to SvelteKit. Write your server code inside svelte files, handle sessions, forms and SEO easily.
https://svemix.com
MIT License
337 stars 16 forks source link

Sveltekit prefetching is not working #11

Closed yousufiqbal closed 2 years ago

yousufiqbal commented 2 years ago

Prefetching of routes using sveltekit:prefetch is not working on anchor elements <a sveltekit:prefetch href="/users">Users</a>

pixelmund commented 2 years ago

Hey are you sure this is an issue within svemix? Because i can't seem to get sveltekit:prefetch working on a fresh npm init svelte@next, so the problem might be in kit itself.

RA9 commented 2 years ago

Prefetching of routes using sveltekit:prefetch is not working on anchor elements <a sveltekit:prefetch href="/users">Users</a>

Shouldn't it be rel="prefetch"?