Application for the video on creating your first Angular 2 app
For Angular version v2+
Check out the article and video on my blog:
Also, check out the corresponding free step-by-step screencast video on Youtube for this code tutorial here.
For more news and updates, make sure to follow me on Twitter 🐦
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive/pipe/service/class
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.