Closed soli004 closed 6 years ago
Trying to use the leaflet plugin but I get errors at" choropleth.js:1" Uncaught ReferenceError: require choropleth.js:1 is not defined. Error shows up here "var L = require('leaflet')".
I have no clue why. I am using chrome with the developer tools
Thanks
Are you using browserify/webpack or just a <script> tag? If the latter, make sure you're pointing to the version inside dist/ not src/.
<script>
dist/
src/
Yes from a Githubissues.
Trying to use the leaflet plugin but I get errors at" choropleth.js:1" Uncaught ReferenceError: require choropleth.js:1 is not defined. Error shows up here "var L = require('leaflet')".
I have no clue why. I am using chrome with the developer tools
Thanks