How to combine ASP MVC 5 and Emberjs

I am trying to experiment with ASP MVC 5 and Emberjs. I do not want to create a full-fledged WebAPI that will be used by emberjs. I want to mix and use emberjs for data driven pages, and a razor view for simple pages.

So far, I just tried ember-cli because I don't know how to create an emberjs application in conjunction with asp mvc.

My question is how to automatically import and compile emberjs-related templates and js to be used in my asp mvc razor views?

I also read about the es6 module in ember-cli, I don’t know if it needs to be solved my problem.

+6
source share

All Articles