问题
Bit of a newbie to VS2015RC with Cordova but I have a query regarding how to use Nuget to add dependencies like say Jquery, Angular etc.
If you add the dependencies or packages using Nuget then they are added to the root of the Project (Not in the www folder). Of course you can just move the files but this plays havoc with some of the Source Control we are using and also you have to remember to move it back again to the root if you want to "Upgrade" the dependency or package with Nuget again.
So....
- Is there a way of getting Nuget to install the files in the correct sub-folder? or...
- Is there another way to add the dependencies / packages (Npm etc?) and is there a tutorial around for that?
Thanks in advance for the help.
回答1:
The way I understood it, the directory structure was changed in the RC. I chalked the wrong directory up to the nuget configs not being updated yet. I expect the gold release to have that fixed.
来源:https://stackoverflow.com/questions/30097425/using-nuget-on-vs2015-rc-tools-for-apache-cordova