Create new vue js with task Runner Razor MVC

Create new Project.

In the root of the project create the following files:
– webpack.config.js
– package.json

package.json (replace the default values within <<>>)

webpack.config.js

Open cmd and in the directory where package.json file is located. Run the following npm install

Add the following in the _layout.vbhtml file.

Now in visual studio Select ‘View’ -> ‘Other Windows’ -> ‘Task Runner Explorer’. Just run the ‘Run – Development’ task. Can even build while project is running.

Comments are closed.