The javaee dependent package has its own package management warehouse, but if you use js, you have to pull it in one by one. It would be great if I could use the npm package management tool of javascript. I can easily import js. It’s a plug-in, how do you implement the idea?
Use two sets of tools together.
Just like .Net, use nuget to manage the .Net class library, use bower or npm to manage the JS class library, and then reference JS in the view.