DeckGL loading and usage in Sveltekit #181
matthalstead
started this conversation in
General
Replies: 1 comment
-
It's been a while since I looked at this but when I wrote the original example I imported the layer from the If I remember right, importing directly from there should work fine on the server. I also just realized that the deck.gl demo page on the website doesn't make that clear. I'll update that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The SSR part of Sveltekit seems to require Deck.gl to be loaded client side only using checks. I have used the following, which works, but wondering if there is a better/cleaner way to do this?
The following is in a
+page.svelte
file.Beta Was this translation helpful? Give feedback.
All reactions