Skip to content

Commit

Permalink
feature: angular universal support
Browse files Browse the repository at this point in the history
  • Loading branch information
codediodeio committed May 20, 2018
1 parent 248a7c7 commit 2169f0e
Show file tree
Hide file tree
Showing 21 changed files with 3,476 additions and 218 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.


prerender.ts

# compiled output
/dist
/tmp
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ FireStarter is an Angular PWA powered by Firebase. It can serve as a foundation
- Angular 6.x
- 100 PWA Lighthouse Score with NGSW
- Firebase Auth, Storage, and Cloud Firestore Demos

- Angular Universal Prerendered SSR (hosted on Firebase)

## Usage

Expand Down
8 changes: 8 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@
"**/node_modules/**"
]
}
},
"server": {
"builder": "@angular-devkit/build-angular:server",
"options": {
"outputPath": "dist/firestarter-server",
"main": "src/main.server.ts",
"tsConfig": "src/tsconfig.server.json"
}
}
}
},
Expand Down
6 changes: 0 additions & 6 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
Loading

0 comments on commit 2169f0e

Please sign in to comment.