Add the instructions for running in production
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@44951 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
0272dc0250
commit
c1699f317d
|
@ -33,6 +33,10 @@ A minimal Angular 2 starter for Universal JavaScript using TypeScript 2 and Webp
|
||||||
## AoT and Prod
|
## AoT and Prod
|
||||||
* `npm run build:prod:ngc` to compile the ngfactory files and build prod
|
* `npm run build:prod:ngc` to compile the ngfactory files and build prod
|
||||||
|
|
||||||
|
######
|
||||||
|
npm run build:prod:ngc
|
||||||
|
PORT = XXXX npm run server
|
||||||
|
|
||||||
## Universal "Gotchas"
|
## Universal "Gotchas"
|
||||||
|
|
||||||
> When building Universal components in Angular 2 there are a few things to keep in mind.
|
> When building Universal components in Angular 2 there are a few things to keep in mind.
|
||||||
|
|
Loading…
Reference in New Issue