-
Book Overview & Buying
-
Table Of Contents
Full Stack Development with Angular and GraphQL
By :
This section describes how to create our Angular project as well as how to build, monitor, and serve the application.
Return to your command-line interface and go to your project's packages/ subdirectory:
cd ~/ngsocial/packages/
Then, to create a new Angular project without a Git repository, use the following command:
ng new client --skip-git
The CLI will ask you a couple of questions:
Would you like to add Angular routing? Type Y for yes.Which stylesheet format would you like to use? Choose CSS.Important Note
To see what version of the Angular CLI we're using, we can run the ng version command when we're within our project's folder. Prompt questions can be skipped by using the --routing and --style=css options with the ng new command telling the Angular CLI that you want to create a project using pre-configured routing and CSS stylesheets.
Following confirmation, the CLI will create the basic...