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
Map not showing on release build #167
Comments
- import {MglMap, MglNavigationControl, MglGeolocateControl} from 'vue-mapbox'
+ import { MglMap, MglNavigationControl, MglGeolocateControl } from 'v-mapbox' seems you're importing the wrong package |
Updated test code with suggestion. Still unable to see the map on release build |
@vinayakkulkarni I'm also facing the same issue. New release build. And map is not loading... |
@vinayakkulkarni |
@vvavepacket: can you reproduce this with a demo repo or codesandbox? |
@woshikie & @vvavepacket: I've fixed some minor issues, released a new version & have done a demo on codesandbox. |
Thanks for the update @vinayakkulkarni I have updated my repo with the latest package and this is the output from my You can see for yourself that the map is not showing. It is showing, however, on debug builds, which we can see on CodeSandbox or If you don't have a development web server to run the files, you can use python as a web server. Edit: not opening a new issue as we can simply reopen this one |
As per title.
Tested on the following App.vue:
map works on
npm run serve
,npm run build --mode development
but not onnpm run build
Edit: Changed test code
The text was updated successfully, but these errors were encountered: