Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import? #54

Closed
alienatorZ opened this issue Apr 11, 2023 · 1 comment
Closed

import? #54

alienatorZ opened this issue Apr 11, 2023 · 1 comment

Comments

@alienatorZ
Copy link

How would I use this with standard vite project?
I tried import import {GeoserverTerrainProvider} from "./geoserverterrain/GeoserverTerrainProvider";
but I get the error:

Uncaught SyntaxError: The requested module '/src/components/Globe/geoserverterrain/GeoserverTerrainProvider.js' does not provide an export named 'GeoserverTerrainProvider' (at GlobeComponent.jsx:9:9)

@kaktus40
Copy link
Owner

Hi,
did you test import "./geoserverterrain/GeoserverTerrainProvider"; ? after importing cesium?
After cesium should provide GeoserverTerrainProvider like cesium.GeoserverTerrainProvider

@kaktus40 kaktus40 closed this as completed Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants