Quantcast
Channel: Active questions tagged svelte - Stack Overflow
Viewing all articles
Browse latest Browse all 1541

Unexpected character '@' when migrating from Svelte 4 to Svelte 5

$
0
0

I am migrating a a Svelte 4 app to a Svelte 5 app, I used the npx command line

npx sv migrate svelte-5

This resulted in my <slot /> tag in my layout.svelte file on my front page being replaced with {@render children?.()}. This creates a Unexpected character '@' error, which I can't resolve.


Viewing all articles
Browse latest Browse all 1541

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>