- Forums
- Angular
- How To Run Angular 2 On Your Windows Computer For Development
these are my notes on how i was able to run a successful angular 2 javascript framework on my windows 10 computer laptop so i can develop some web apps [4627], Last Updated: Mon Jun 24, 2024
Angular2
Tue Jan 24, 2017
0 Comments
440 Visits
ON WINDOWS:
install git
install nodejs (current version: node-v7.4.0-x64.msi) from https://nodejs.org/en/
by installing node, it comes with npm
go to
cd C:\apachefriends\xampp\htdocs\angular2\hello-world
//Clone
//Perform the clone-to-launch steps with these terminal commands.
git clone https://github.com/angular/quickstart.git quickstart
cd quickstart
npm install
npm start
YOU WILL SEE THIS OUTPUT:
Did not detect a `bs-config.json` or `b
** browser-sync config **
{ injectChanges: false,
files: [ './**/*.{html,htm,css,js}' ]
watchOptions: { ignored: 'node_module
server: { baseDir: './', middleware:
[BS] Access URLs:
-------------------------------------
Local: http://localhost:3000
External: http://192.168.56.1:3000
-------------------------------------
UI: http://localhost:3001
UI External: http://192.168.56.1:3001
-------------------------------------
//LOOKED AT YOUR CHROM BROWSER AND YOU WILL SEE
Hello Angular
//THIS MEANS ITS WORKING:
open file: app/app.components.ts, you can edit name='Angular' to whatever you want to test it
you will noticed, when you change it and save the file, the browser refreshes automatically