"Preface"
This is also from the document written by Xiaofeng, I do end-to-end testing when the project is used. "Body"
Project Flow install webstorm-Continuous Integration Server
Download Address: http://www.jetbrains.com.cn/webstorm.html
New ANGULAR2 Project
Enter directly from the command prompt:
ng New Angular-cli-project
PS:ANGULAR2 basic files have been created, the next is to download the project depends on the Nodejs package, with Ng new Angular-cli-project, directly create if not terminated, the default with NPM from the foreign web site download resources, download speed is very slow. So after downloading the basic files, terminate the process, and then navigate to the project directory with the Nodejs package that the CNPM download project relies on
Enter directly from the command prompt:
CD Angular-cli-project
Install all Node.js packages that the project relies on
Enter directly from the command prompt:
start the Web server
Enter directly from the command prompt:
ng serve
Effect Chart:
PS: In addition to starting the project with Ngserve, you can enter it directly at the command prompt: CNPM start. 3. The official website
ANGULAR2 Chinese official website: https://angular.cn/docs/ts/latest/tutorial/toh-pt1.html PS
Partners, for ANGULAR2 to build a basic environment, you can first initialize a project with reference to this document, and then you can focus on understanding when you understand:
Meta-testing, typescript, two-way binding of data, sass, directives, encapsulating custom UI components, and other ANGULAR2 features.
Related projects:
Angular2-seed, Angular2-spa-datagrid, Angular2-typescript-gulp-master, switching-to-angular2
PS: Related items are placed on the GitHub, so you can download them from the command prompt:
can refer to the blog of the 12 issue Yang Xiaofun: preliminary Implications of ANGULAR2
Other related research blog as follows: "Angular2 typescript" "Front-End Engineering of the Nodejs"
"The front-end engineering of NPM", "The First Knowledge Gulp"
"Summary"
The basics are all summed up, and then you may be able to write a few principles. Or the characteristics of the thing, is the advanced bar.