24 lines
910 B
Markdown
24 lines
910 B
Markdown
# Angular 2 Universal Starter [![Universal Angular 2](https://img.shields.io/badge/universal-angular2-brightgreen.svg?style=flat)](https://github.com/angular/universal)
|
|
> Server-Side Rendering for Angular 2
|
|
|
|
A minimal Angular 2 starter for Universal JavaScript using TypeScript 2 and Webpack 2
|
|
|
|
> If you're looking for the Angular Universal repo go to [angular/universal](https://github.com/angular/universal)
|
|
|
|
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
|
|
|
|
## 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
|