I am trying to learn ASP.NET Core 1.0, and I am creating a ASP.NET Core project with the "Web Application" template, but I am seeing a discrepancy with what I am expecting. I was under the impression that npm and gulp were included in the project as the documentation states:
The template also includes Node Package Manager (npm) and Gulp, making it easier to add bundling and minification to a project.
And also:
When you create a new web project using ASP.NET Core Web Application template, Visual Studio includes the Gulp.js npm package, the gulpfile.js file, and a set of Gulp dependencies.
However, I am not seeing npm as a package management option, nor am I seeing any files related to npm or Gulp. I do, however, see Bower options.
I am using Microsoft .NET Core Tools 1.0.0 (Preview 2).
gulp/grunt/npm is still supported but was removed from the default project template in the preview tooling that shipped with ASP.NET Core RTM
I think you can just manually add a package.json file and a gulpfile.js and makes some edits in the scripts section of project.json in the web app to get back in business as it was in RC2
the default template uses a new bundler minifier
there was also discussion about it in community standup if you want to learn the reasoning behind the changes
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With