Home Add Angular App to Existing MVC Project
Reply: 0

Add Angular App to Existing MVC Project

user736 Published in July 16, 2018, 6:40 am

I have an MVC project in an Area of a larger solution. I would like to add an Angular App inside that area and add it to my MVC project. This is not a .Net Core Mvc project. How would i tell my project to use webpackdevmiddleware? I.E.

app.UseWebpackDevMiddleware(new WebpackDevMiddlewareOptions{
HotModuleReplacement = true

Since i would be adding the Mvc app in an area and my folder structure looks like so.

Where should i run my ng new command? IE C:\Project\Areas\Mvc ng new AngularApp or how do i set the directory so that the app is created in my MVC folder?

would it be easier to just create an angular .net core app instead? Inside the areas folder?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.313845 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO