How to add virtual directory to the default url of a project generated by angular-cli? -
in project generated angular-cli, if run:
ng serve -o
the browser open tab link default:
http://localhost:4200
i want add virtual directory url, this:
http://localhost:4200/companyname/product/web
i know --host , --port option can change host , port of url, can't find option add virtual directory.
you can use --base-href
or -bh
flag that
ng serve --base-href /companyname/product/web -o
Comments
Post a Comment