angular installation

Step 1 install node.js and npm
to check version of node node -v
if not installed show err node is not recognized as an internal or external command
to checkk version of npm npm -v
if not installed show err npm is not recognized as an internal or external command

open windows command prompt  run msinfo32 // to check system hardware ram rom harddisk
if not exist download  node and install
download visual studio code
to develop angular application typescript 2.2.0 or later is required
npm install -g @angular/cli
ng new my-dream-app
cd my-dream-app
ng serve
to compile typescript to javascript when typescript files are
saved set "compileOnSave" to  true in tsconfig.json file
{
"compileOnSave": true,
.......
}

Comments

Popular posts from this blog

reactjs questions part 4

ReactJS: How and when to force a React component to re-render

Q: Error Boundary in React that catches an error and displays a fallback UI