I am having difficulty using Yarn / NPM in ASP.Net Core.
I'm installing packages as follows: (Example installing JQuery)
Yarn: yarn add jquery
NPM: npm install jquery
Everything happens normally, the problem is that the files go to the node_modules
folder, whereas in ASP.Net Core it is "necessary" for the files to be in wwwroot
.
I would love to use Bower , since it has set up the directories of the installations, however it is not working and is recommending the use of Yarn .
So how could I install packages to use in ASP.Net Core?
If possible, I would like the files to be installed in
wwwroot/lib
.I searched, but I only found a few things in English, but I'm horrible in English and the browser translators do not seem to be that good, it's all confusing.