part 5 Angular CLI commands port, open, prefix, flat

preview_player
Показать описание
This video helpful to understand the some of angular cli commands like flat, open, prefix, port
flat - when ever you create a component using angular cli, it will create a folder. Suppose the situation you don't want to create a folder for that component then use the command (ng g c componentname --flat true)

open - this command helpful launch the application in the default browser use the following command ng serve --open or ng serve -o

Prefix - when ever you create any component it will come with default prefix 'app'. If you want to change the component prefix then use the following command ng g c componentname --prefix prefixname
port - If you want to run the multiple angular application at a time then use the port command ng serve --port portnumber (4201,4202)
Рекомендации по теме