Closed chientrm closed 2 years ago
Hello, we resolved the issue using a dynamic import in Next Js const ReactGlobe = dynamic(import('react-globe.gl'), { ssr: false })
Hello, we resolved the issue using a dynamic import in Next Js const ReactGlobe = dynamic(import('react-globe.gl'), { ssr: false })
I resolved this by dynamic import in svelte, too. 👍
hey @chientrm I would love to see how you implemented globe.gl in svelte. Cheers
hey @chientrm I would love to see how you implemented globe.gl in svelte. Cheers
I no longer use globe.gl
. Please check my three-js
globe I implemented myself 👍 .
https://github.com/chientrm/spacex/blob/main/src/lib/components/Globe.svelte
Describe the bug
To Reproduce Steps to reproduce the behavior:
npm init
'type': 'module'
topackage.json
npm run build
using viteExpected behavior Build distribution
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.