Closed barrycumbie closed 2 years ago
from our product wiki: https://github.com/barrycumbie/animated-octo-adventure/wiki/About-Angular-(Ng)
Getting Started start with node.js check your version. used behind the scene to bundle the Ng app careful to not use v17 at this point (prob. 16.13.1 is LTS)
now got npm npm install -g @angular/latest //may have do prefix with sudo
or, prob on Windows box:
npm install angular
now install our ng cli
npm install -g @angular/cli
and check it
ng version
should get a positive response.
don't worry about errors if it gets through check the version ng version for verification
nav to your dev folder
ng new mean-app --directory "./" --no-strict
ng new project-name --no-strict //don't use test or start with numbers or whitespace
--no-strict makes things a bit easier off the bat
angular routing? n //not yet, will do later which styling? css
yes, this is a bit more complex set up but cuz we use TypeScript going on behind the scenes: optimized and stuff
cd to your folder
ng serve
💥 payoff!
Task
ng
index.html
toanimated-octo-adventure/src/app/app.component.html