Server-Side Rendering for Angular 2
npm install
npm start
to build your client app and start a web servernpm run build
to prepare a distributable bundle
- run
npm start
andnpm run watch
in two separate terminals to build your client app, start a web server, and allow file changes to update in realtime
npm run watch
to build your client app and start a web server
npm run build:prod:ngc
to compile the ngfactory files and build prod