Ismaestro / angular-example-app

Angular 17 Example App + Standalone Components + i18n + EsBuild

Home Page:https://angular-example-app.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo app is SSR but repo isn't

aomerk opened this issue · comments

Demo app is rendered on server and page source shows it too. It is not just
<app-root>...spinner</app-root> and kinda runs with JS disabled
But I cloned the repo, ran npm install and npm run deploy , deployed page is just a normal SPR.

Be sure to refresh de view-source page because of the cache. Should be SSR, it makes no sense a SPA after deploying an ssr function among other things...

Can you confirm it?

It's happens to me too
The local repo is not ssr:

  1. clone the repo.
  2. cd repo and npm i.
  3. npm run build:ssr.
  4. npm run serve:ssr

pnavigate to localhost:4000 and view page source.
NOT SSR

Did you reload the VIEW SOURCE page?

Yes i did many times

@Ismaestro i wrote you an email can u please have a look ?

from eliavmaman2@gmail.com

Hello @Ismaestro, first... great work! Love the setup.

My issue is my local is in SSR, but the deployed project to Firebase is not in SSR. Do you have any suggestions? Any help is much much appreciated

Nevermind, SSR SEO is not working locally either.

Did you ever get it to work @eliavmaman @aomerk?

Fixed... it was a cache issue