How to edit downloaded via npm plugins and modules?

Good afternoon. Write the application on vue.js. Faced with the need to add your directives to the current markup of the downloaded plugins. But saved changes are not displayed.

Read more:

Installed npm using the calendar module for your website. I need to add various directives to its template.
I got into the source path node-modules/vue-event-calendar/template.vue
There is the html markup of the calendar, I changed it as I needed and kept.
After the console has launched a local server npm run dev .
In the browser opened the developer dashboard to see the layout and my changes are not there.

How do I make changes to these sources?

Thank you.
June 14th 19 at 18:31
2 answers
June 14th 19 at 18:33
Solution
Climbed right, read the readme how to assemble this package. Certainly, the author keeps the template in one place, and the resulting "library" is going in single file. Therefore, you need to "sbility" this project, by making changes to the template.

As said above, when you (or someone else) will try to download this module from npm changes will be lost. So you can either make your own fork and specify in the package.json link to your repository, or (if the functionality is good) to make a fork and send a pool-rekvest to the author.
thanks for the help, the answer helped. - Sadie_Padbe commented on June 14th 19 at 18:36
June 14th 19 at 18:35
Solution
Make the implementation into your project. What is in node_modules will be written from npm. To change the source is possible only through collaboration. I advise you to study how the package Manager.
and can some link to read about it, I climb in Google for kljucevima "the implementation of npm and collaboration" nothing common not found.. - Sadie_Padbe commented on June 14th 19 at 18:38
Implementation - you just take the functionality of the module, copy-paste it from node_modues myself and have changed as you like. Collaboration - joint development. Are you looking for a plugin repository, forcethe yourself, and then offer a pull request with your changes. - Sadie_Padbe commented on June 14th 19 at 18:41
Yes.. understood, thanks :) - therese commented on June 14th 19 at 18:44

Find more questions by tags JavaScriptNode.jsnpmVue.js