unseen1980 / angular2Isomorphic

PreRender main angular2 component in server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular 2 Prerender

Installation

  • npm install

Serve

  • npm start to build your client app and start a web server
  • npm run build to prepare a distributable bundle

Development

  • run npm start and npm run watch in two separate terminals to build your client app, start a web server, and allow file changes to update in realtime

Watch files

  • npm run watch to build your client app and start a web server

##Demo In this demo I request Hackernews stories, rendering content on server and passing them on initial response

About

PreRender main angular2 component in server


Languages

Language:TypeScript 68.2%Language:JavaScript 24.7%Language:HTML 7.1%