To integrate Angular and Webpa
Integrate Angular and Webpack into ASP.NET MVC application for both development and production deployment.
Recommend to use Visual Studio Code for Angular development and Visual Studio 2017 to run the MVC application.
The repository came up after I answered a question on Stackoverflow
How to run?Node.js and npm are essential to Angular development.
Get them now if they're not already installed on your machine.
Verify that you are running node v6.x.x or higher and npm 3.x.x or higher by running the commands node -v and npm -v in a terminal/console window. Older versions produce errors.
Clone or download the repository. It will contain Server and Client folders. Make sure you have node installed as above requirement. Open Client folder, run build.bat. Open Web-Core.sln in Visual Studio, pressF5
or Ctrl + F5
to run the web application.
If everything works fine, you will see the screenshot below.
For step by step tutorial, please visit https://trungk18.com/experience/asp.net-mvc-5-angular-webpack/
ReferenceThis module 2 originally based on the tutorial Tour of Heroes@Angular team
版权声明:
1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。2、网站不提供资料下载,如需下载请到原作者页面进行下载。