Last active
August 10, 2017 17:18
-
-
Save davideast/757dbbda7e2d0fd4220e64cf1ec0280b to your computer and use it in GitHub Desktop.
Revisions
-
davideast revised this gist
Aug 10, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,5 +4,5 @@ ng build --prod ng build --prod --app 1 # Move the browser index.html to generate the SSR version mv dist/index.html dist-server/ # Treat dist as static within dist-server mv dist/ dist-server/static -
davideast revised this gist
Aug 10, 2017 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,8 @@ # Build the browser bundle ng build --prod # Build the universal bundle ng build --prod --app 1 # Move the browser index.html to generate the SSR version mv dist/index.html dist-server/ # Consolidate dist and dist-server mv dist/ dist-server/ -
davideast created this gist
Aug 10, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ ng build --prod ng build --prod --app 1 mv dist/index.html dist-server/ mv dist/ dist-server/