angular_js
Angular JS Notes
This is just a place to make some notes on Angular as I go through instructional modules and pick up things along the way.
Things I did for initial setup:
- Installed VSCode
- Installed NPM which also got Chocolatey
- Installed Cmder terminal but VSCode seems to want to use Powershell
- Used this tutorial for local set up test - https://angular.io/guide/setup-local
- Used this command - npm install -g @angular/cli
- once that's installed, the NG command works.
- ng new my-app
All the packages install with the new command, my-app is the generated folder name inside wherever your terminal directory is currently at.
- cd my-app
- ng serve –open
This started the server and the default app that pulled down was just an info page. The browser opened on its own, so that's nice. The server is not persistent, so restarts of the app and closing the terminal means it will need to be restarted.
Back in the terminal you can kill the server quickly by pressing Ctrl+C or Ctrl+Pause/Break
angular_js.txt · Last modified: by smickster
