Getting started with Angular 4
Have you heard ! Angular 4 ,in its beta version, is out .Yes believe it .
The First thing to know there will be no Angular 3 ,Google is jumping directly to version 4 but that’s just a matter version number because they want to align with the version of new router designed for Angular framework .
The second thing to know ,don’t freak out and don’t worry because unlike the transition from Angular 1.x to Angular 2 ,this is not a breaking and completely new update .Angular 4 is just Angular 2 with some fixes and improvement just like any normal framework update .
The Angular 4 beta version has been released on December 15,2016
The final release of Angular 4 will be on March 2017
How to get started with Angular 4 beta
Angular 4 is still in beta but if you want to test it you can either install it via its GitHub repository at this link or clone this Angular Starter kit from AngularClass which features Angular 2 and Angular 4 (Router, Http, Forms, Services, Tests, E2E, Dev/Prod, HMR, Async/Lazy Routes, AoT via ngc)
So first of all you need to install Node verstion >= 5.0 and NPM >= 3.0
Then open up your terminal under Linux/MAC or command prompt under Windows and then enter the following commands
git clone --depth 1 https://github.com/angularclass/angular2-webpack-starter.git angular4project
Next just cd into your cloned project with
Then install all the requirements with npm install
Next start your development server with
And visit your Angular 4 project at http://localhost:3000 with your browser .
Note: We also publish our tutorials on Medium and DEV.to. If you prefer reading in these platforms, you can follow us there to get our newest articles.
You can reach the author via Twitter:Follow @ahmedbouchefra
About the author
Get our Learn Angular 8 in 15 Easy Steps ebook in pdf, epub and mobi formats, plus a new Angular 8 tutorial every 3 days.
Angular 9/8 Topics
Read our other tutorials
- Angular Tutorial
- Laravel 6 Tutorial
- React Tutorial
- React Hooks Tutorial
- React Native Tutorial
- Webpack Tutorial
- PHP Tutorial
- Django Tutorial
- Java Spring Tutorial
- Rails 6 Tutorial
- Ionic 4 Tutorial
- TypeScript Tutorial
- Bootstrap 4 Tutorial
- Electron Tutorial
- Cordova Tutorial
- HTML Tutorial
- GraphQL Tutorial
- CSS Grid Layout Tutorial
- PWA Tutorial