f:: React

Installation

Installation • Angular

npm install -g @angular/cli
ng new my-first-angular-app
 
Would you like to share pseudonymous usage data about this project with the Angular Team
at Google under Google's Privacy Policy at https://policies.google.com/privacy. For more
details and how to change this setting, see https://angular.dev/cli/analytics.
 
   no
Global setting: disabled
Local setting: No local workspace configuration file.
Effective status: disabled
? Which stylesheet format would you like to use? CSS             [ https://developer.mozilla.org/docs/Web/CSS                     ]
? Do you want to enable Server-Side Rendering (SSR) and Static Site Generation (SSG/Prerendering)? no
CREATE my-first-angular-app/README.md (1078 bytes)
CREATE my-first-angular-app/.editorconfig (274 bytes)
CREATE my-first-angular-app/.gitignore (587 bytes)
CREATE my-first-angular-app/angular.json (2646 bytes)
CREATE my-first-angular-app/package.json (1051 bytes)
CREATE my-first-angular-app/tsconfig.json (983 bytes)
CREATE my-first-angular-app/tsconfig.app.json (424 bytes)
CREATE my-first-angular-app/tsconfig.spec.json (434 bytes)
CREATE my-first-angular-app/.vscode/extensions.json (130 bytes)
CREATE my-first-angular-app/.vscode/launch.json (470 bytes)
CREATE my-first-angular-app/.vscode/tasks.json (938 bytes)
CREATE my-first-angular-app/src/main.ts (250 bytes)
CREATE my-first-angular-app/src/index.html (303 bytes)
CREATE my-first-angular-app/src/styles.css (80 bytes)
CREATE my-first-angular-app/src/app/app.component.css (0 bytes)
CREATE my-first-angular-app/src/app/app.component.html (19903 bytes)
CREATE my-first-angular-app/src/app/app.component.spec.ts (958 bytes)
CREATE my-first-angular-app/src/app/app.component.ts (316 bytes)
CREATE my-first-angular-app/src/app/app.config.ts (310 bytes)
CREATE my-first-angular-app/src/app/app.routes.ts (77 bytes)
CREATE my-first-angular-app/public/favicon.ico (15086 bytes)
✔ Packages installed successfully.
    Successfully initialized git.
cd my-first-angular-app
npm start
 
> [email protected] start
> ng serve
 
Initial chunk files | Names         |  Raw size
polyfills.js        | polyfills     |  90.23 kB |
main.js             | main          |  22.63 kB |
styles.css          | styles        |  95 bytes |
 
                    | Initial total | 112.96 kB
 
Application bundle generation complete. [1.955 seconds]
 
Watch mode enabled. Watching for file changes...
NOTE: Raw file sizes do not reflect development server per-request transformations.
  ➜  Local:   http://localhost:4200/
  ➜  press h + enter to show help
  

Essentials

Essentials • Overview • Angular