aspnet / Tooling

Issue tracker and info on Visual Studio tooling for ASP.NET
Other
256 stars 124 forks source link

How can I include the wwwroot\node_modules folder into the solution explorer in an ASP.NET Core project? #1021

Open infinnie opened 7 years ago

infinnie commented 7 years ago

I just can’t…

ctolkien commented 7 years ago

It's listed under Dependencies/npm

infinnie commented 7 years ago

@ctolkien So where can I find that?

mlorbetske commented 7 years ago

@infinnie as a child of the project node in solution explorer, there'll be a node called "Dependencies" (it'll be toward the top of the list of items in the project). If you expand that, you'll see the categories of things referenced by your project (npm packages/NuGet packages/etc), if you expand "npm" you should see the referenced npm packages. If that doesn't meet your needs, when a node in your project is selected in solution explorer, a button at the top of that tool window should appear, allowing you to show all files, not just ones included in the project.

mlorbetske commented 7 years ago

@infinnie did that solve the issue?

grahamehorner commented 6 years ago

I’m looking at doing the same given a lot of people have said bower is dead use npm and gulp; however that is a lot easier said than done? I believe that the question is how do you get npm packages into the wwwroot folder. I also believe the answer to be a gulp task; which would compile & minify the less & js resources, creating this script is a skill in its self one which I’m lacking (at present) so in short this is an observation about the topic not a solution. Hope this helps