/trails-angular2-isomorphic

Do not fork from there if it's not to solve the current issue with BuildClientScript, this trails angular2 isomorphic is not stable for the moment and will be push to FriendsOfTrails as soon as issue resolved.

Primary LanguageJavaScriptMIT LicenseMIT

[![Trails.js][trails-image]][trails-url] & Angular

Gitter

Trails & angular configuration example Isomorphic Version.

This package contains an out of the box authentication api using trails and trailpack-passport and authentication frontend with angular2 and anular-jwt .

Why Isomorphism ?

When resources served to client ,they load after the client get the page, as usual with angular. This example provide a server rendering for angular with TrailsJs with the capacity to render resources from the server when first loaded. As soon as robots from Google and others need to fetch pages, the easy way is to serve them from server instead of generating them from phantomJS.

Contributing

We love contributions! Please check out our Contributor's Guide for more information on how our projects are organized and how to get started.

License

MIT

[trails-image]: http://i.imgur.com/zfT2NEv.png [trails-url]: http://trailsjs.io