firebase serveeverything seems to work ok on first sight. But if I view the source of the page it always returns the 404 page source.. Does anyone ran into this problem before? I've got more details with git repo on StackOverflow: https://stackoverflow.com/questions/57390195/how-to-fix-all-pages-view-source-returns-404-screens-html-while-serving-angu
npm run prerender:buildwe use the SSR functionality to spin up a express server, and we know all defined routes, to create folder structure. then we go to each route and write the HTML output to the correct folder, then we kill SSR, and upload the browser folder
throw new Error("NotYetImplemented");
I am using flat mat tree , i want to show parent child relation with border, like in this work https://tina-material-tree.firebaseapp.com/simple-tree . Please help. Is there any way to get this work code ??
This is my work so far https://stackblitz.com/edit/mat-tree-with-dragging . I'm also using drag and drop in this work.
Is there a good way to use Angular Universal to remove the need for a JSON API by having the Express server do all data retrieval?
From docs it appears that I could probably implement this by using TransferState and isPlatformServer. Unfortunately the code that retrieves the data will fundamentally need access to things that the client-rendered code shouldn't have access to (e.g. the database). Peppering isPlatformServer if-statements to separate code blocks that should have database access and code blocks that shouldn't sounds questionable to me.
Has anybody else addressed a use case like this or have thoughts on it?