Loading topic
ng new and can use a terminal, npm, and basic TypeScript. It walks through the files that sit at the workspace root, outside src. Knowing what each file does tells you which one to open when something needs to change.2 min readng new and know basic TypeScript and HTML. It covers what the src folder contains and what each file does.2 min readng new. It traces what happens between ng serve and the first component appearing in the browser.2 min readng new, and have read how main.ts bootstraps the root component with an application config. It covers app.routes.ts, the file that tells the router which component to show for each URL.2 min readng new, and know that ng build and ng serve exist. angular.json sits at the workspace root. The CLI reads it to learn which projects exist, where their sources live, and how to build, serve and test each one.2 min readng new.2 min readng new, know basic TypeScript, and understand that Angular apps are built from components and services. The ng generate command (alias ng g) creates these files for you with the correct structure, naming and wiring.2 min readng new, and that you can read the architect section of angular.json from the previous chapter. It covers the two commands you will run most often: ng serve for development and ng build for producing deployable files.2 min readangular.json (see the previous chapters on the workspace and ng build) and know basic TypeScript imports.2 min readangular.json and know what a tsconfig file is. It also assumes you have generated a component with ng generate. Those topics are covered in earlier chapters.2 min readng new, you know what package.json and angular.json contain, and you have seen what a schematic does when you run ng generate. Here you will learn how ng add and ng update differ from a plain npm install, and which errors to expect.2 min readng new, you know what main.ts and app.config.ts do, and you have used ng generate at least once. It covers how to arrange files in src/app so the project stays readable as features pile up.2 min readangular.json (the workspace configuration file) and use ng generate. A single-application workspace has one entry under projects. A multi-project workspace has several entries in the same repository. They share one node_modules folder, one package.json, an2 min readangular.json and ng generate. It covers the two extension points behind most CLI commands.2 min read