Just started to learn VUE, currently want to do a basic point of demo, about the map, with the leaflet plug-in, how to apply this plug-in?

because of project problems at work, I learned a little bit about the basics of VUE,. At present, I want to do a basic demo, to load maps using leaflet plug-ins, including trying to introduce Baidu Maps later. The difficulty now is that I don"t know how to use leaflet, in VUE to achieve the effect of map loading and display.

Mar.23,2021

npm install vue2-leaflet-- save

https://github.com/KoRiGaN/Vu.

you can actually use it first, and then take a look at the source code to learn how people encapsulate vue components and reference them. Questions can be communicated in issues with the correct posture on github, and then, or you can learn how to make your package into a npm package.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e620bd-5a9c8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e620bd-5a9c8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?