Witam.
Czy jak zrobie ng build
w projekcie Angularowym i wrzucę na hosting w home.pl to wymagane jest po ich stronie żeby wspierali NodeJS? Na stronie nie jest napisane, że wspiera, więc zastanawia mnie, czy node nie jest potrzebne tylko do developmentu, a po deployu to jest zwykłe www.
0
2
Nie.
3
https://angular.io/guide/deployment
https://angular.io/start/start-deployment
Angular applications are perfect candidates for serving with a simple static HTML server. You don't need a server-side engine to dynamically compose application pages because Angular does that on the client-side.
Because these files are static, you can host them on any web server capable of serving files (...)
1
nawet w SSR jak wybudujesz to nie będzie potrzebował :) prosty web server aka Nginx ogarnie :)
Pomyłka, przepraszam
1
rjakubowski napisał(a):
nawet w SSR jak wybudujesz to nie będzie potrzebował :) prosty web server aka Nginx ogarnie :)
Mówisz że https://angular.io/guide/ssr#enable-server-side-rendering nie potrzebuje Node? Nie bardzo widzę jak Nginx miałby to ogarnąć ;>