sveltejs / sapper-legacy.svelte.dev

Old docs site for Sapper
https://sapper-legacy.svelte.dev/
Other
13 stars 22 forks source link

Document how to use libraries that expect `window` #44

Closed Rich-Harris closed 5 years ago

Rich-Harris commented 6 years ago

These frequently break server-rendering. It's easily fixed with dynamic import()

eyeseast commented 6 years ago

Ran into this myself. If you need a good example, see Mapbox GL JS.

mindrones commented 5 years ago

Linking this in case someone else will have issues with Path2D.

mindrones commented 5 years ago

closing as #45 has been merged