AngularJS - server-side rendering

前端 未结 10 2244
梦谈多话
梦谈多话 2020-12-07 10:57

As you may know, AirBnb opensourced Rendr (http://nerds.airbnb.com/weve-open-sourced-rendr) which should enable server-side rendering of Backbone a

10条回答
  •  孤城傲影
    2020-12-07 11:55

    This new package https://github.com/a-lucas/angular.js-server allows you to pre-render an Angular application and send HTML to the client, that will then execute the jS code.

    It supports caching per url and you can define rules to activate URL pre-rendering.

    PS: I am the main contributor for this package.

提交回复
热议问题