How can self-packaged libraries be submitted to gitHub and provided for introduction by other projects?

encapsulate a simple library in js or vue (such as a loading), and then upload it to gitHub, and generate dependencies for later use by other projects. What is the specific process and operation? Do you guys have any tutorials? It is best to guide in person, with links to tutorials or documentation, thank you very much.

Mar.04,2022

what you're talking about is publishing a npm package and then npm install in the project and then import introduces

.

https://blog.csdn.net/u014302.


is used by other projects, mainly to upload to the npm repository.
search for keywords such as npm posts, such as https://codeshelper.com/a/11.

Menu