Z
Z
Zhalgas Saparov2019-09-11 07:04:15
JavaScript
Zhalgas Saparov, 2019-09-11 07:04:15

Is it possible to add a third party js library to vue via vue cli?

I have a problem. I need to add a leaflet draw to the site, but the plugin is not fully implemented for vue. Here is the link . There is also a ready-made leaflet draw library with documentation. Now the question is, can I add this plugin to my vue project created via vue cli and how will it work?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Barkowski, 2019-09-11
@zettt

Everything will work fine, you can implement the use of this library in a separate component and call it with props, which already define the options available to it (the library).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question