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

How to detect whether script was loaded client side or server side in Svelte?

$
0
0

How do I detect whether a script was loaded from +page.server.js or +page.svelte?

Is there a (Svelte) function that I can import to see the difference?


Viewing all articles
Browse latest Browse all 1541

Trending Articles



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