Angular 4 and Umbraco Working Together

北战南征 提交于 2021-02-19 08:34:19

问题


I've heard that Umbraco is written in Angular 1. Is it possible to run a web site written in Angular 4 on Umbraco?

Do they play well together?


回答1:


The backend of Umbraco is implemented using AngularJS (v1). The frontend of Umbraco uses Razor to output serverside data or you can implement your own WebAPI controllers on top of Umbraco to output data to a webapplication implemented by the framework of your preference.

So yes, if you want to use it for the website itself, it fits perfectly fine. You'll have to implement your own Web API Controllers

If you want to use Angular to extend the Umbraco backoffice, you'll want to use AngularJS (v1)



来源:https://stackoverflow.com/questions/46810984/angular-4-and-umbraco-working-together

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!