Skip to content

Commit 82ee72c

Browse files
committed
feat: upgrade universal example
Signed-off-by: Stefano Cappa <stefano.cappa.ks89@gmail.com>
1 parent 27eed70 commit 82ee72c

17 files changed

+6836
-4347
lines changed

CONTRIBUTING.md

+5-8
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,12 @@ Every time you'll run `npm install` inside an example's folder, you must rebuild
5353

5454
# E. Run universal example
5555
1. `cd examples/universal`
56-
2. `npm run start` => if everything is ok (also in browser's console), kill the process and go to the next step
56+
2. `npm start` => if everything is ok (also in browser's console), kill the process and go to the next step
5757
3. `npm run build:dev`
58-
4. `cd dist/universal/browser && lite-server` => if everything is ok (also in browser's console), kill the process and go to the next step
59-
5. `cd ../../..`
60-
6. `npm run build:prod`
61-
7. `cd dist/universal/browser && lite-server` => if everything is ok (also in browser's console), kill the process and go to the next step
62-
8. `cd ../../..`
63-
9. `npm run serve:ssr` => if everything is ok (also in browser's console), kill the process and go to the next step
64-
10. `cd ../..`
58+
4. `npm run serve:ssr` => if everything is ok (also in browser's console), kill the process and go to the next step
59+
5. `npm run build:prod`
60+
6. `npm run serve:ssr` => if everything is ok (also in browser's console), kill the process and go to the next step
61+
7. `cd ../..`
6562

6663
# H. Create your pull request
6764
1. **If it is ok, create your pull request specifying all the details**

examples/universal/angular.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"server": "src/main.server.ts",
4848
"prerender": true,
4949
"ssr": {
50-
"entry": "server.ts"
50+
"entry": "src/server.ts"
5151
}
5252
},
5353
"configurations": {

0 commit comments

Comments
 (0)