whne I run, I need to pass a base path
like /pis/
ng serve --serve-path /pis/
I do this but it doesn't load anything. Anyone can help me to put a base path in ng serve operation?
whne I run, I need to pass a base path
like /pis/
ng serve --serve-path /pis/
I do this but it doesn't load anything. Anyone can help me to put a base path in ng serve operation?
Did you mean --base-href
?
Example usage:
ng serve --base-href /pis/
Edit:
From Angular Docs, see mention of --base-href
here
And another option --baseHref
here.