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

dependency was not found #16

Open
ryuchaehwa opened this issue Jun 4, 2020 · 1 comment
Open

dependency was not found #16

ryuchaehwa opened this issue Jun 4, 2020 · 1 comment

Comments

@ryuchaehwa
Copy link

Hello,
I'm using Vuejs. I've got 'this dependency was not found' error. Even I've installed it like very many times, it keep says 'To install it, you can run: npm install --save leaflet-draw-toolbar' Please check below and let me know if anything is wrong!

<script> import "leaflet-draw"; import LeafletToolbar from 'leaflet-draw-toolbar' methods: { initMap() { let divMap = L.map("divMap").setView([51.505, -0.09], 13); L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", { attribution: '© OpenStreetMap contributors', }).addTo(divMap); new LeafletToolbar.DrawToolbar({ position: "topleft", }).addTo(divMap); }, </script>
@Joost-dm
Copy link

I have the same problem.

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