Skip to Main Content
ASP.NET Core MVC 2.0 Cookbook
book

ASP.NET Core MVC 2.0 Cookbook

by Jason De Oliveira, Engin Polat, Stephane Belkheraz
February 2018
Intermediate to advanced content levelIntermediate to advanced
668 pages
15h 18m
English
Packt Publishing
Content preview from ASP.NET Core MVC 2.0 Cookbook

How to do it...

We can use Grunt in two ways:

Without using Visual Studio, through the command line, using Command Prompt, Node.js, npm, and installing and using all the modules you need to execute all the tasks we want to run.

Installing Visual Studio 2015 Community Edition and the Visual Studio extensions that allow us to run these tasks in the Visual Studio user interface.

In this recipe, we will use Grunt in the second of these two ways, using Visual Studio to compile LESS files to CSS files:

  1. To install Grunt, let's open package.json, or if we begin from an empty project, just add a package.json file.
  2. Let's type grunt in the devDependencies section. IntelliSense will help us to find the Grunt package:
  1. After that, we type the version. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

ASP.NET Core and Vue.js

ASP.NET Core and Vue.js

Devlin Basilan Duldulao
Mastering ASP.NET Web API

Mastering ASP.NET Web API

Mithun Pattankar, Malendra Hurbuns

Publisher Resources

ISBN: 9781785886751Other