has a setup for core:

However, I'd like to set it up for an mvc app. The Quick Start files are already there from the mvc template. These are the ones from the site:

app folder

The contents of mine look exactly the same. I also added the app and e2e folders from, which are referenced from the QuickStart.

I then added

<my-app>Loading AppComponent content here ...</my-app>

to Index.cshtml. I can compile and run the app without any errors. But I still see

Loading AppComponent content here ...

when the page renders instead of seeing the following:

Hello Angular

Which is what should appear. The plunkr verifies this:

Microsoft.TypeScript.Compiler, Microsoft.TypeScript.MSBuild and TypeScript 2 are all installed.

This is just a basic, non modified mvc app to see if I can get Angular2 working.

The mvc template may have a different folder/file structure than the core. So I'm not sure how angular2 knows there is an app folder.

Any ideas why this might not be working?

Related posts

Recent Viewed