Angular2 official demo heroApp, angular2heroapp

Source: Internet
Author: User

Angular2 official demo heroApp, angular2heroapp

I recently learned angular2, so I started learning from the hero example on the official website. After several twists and turns, this example is finally completed. Benefits. I personally recommend that you first understand some concepts, modules, components, and decorators before learning examples to help you write the logic of code. Let's talk about the problems I encountered during my study:

1. First attach the link to the Chinese official Tutorial: https://www.angular.cn/tutorial

2. do not use the above tutorial "Quick Start" when creating a project, because the project created in this tutorial does not have the systemjs library, and an error will be reported later, and there is no systemjs. config. the js file will be a little troublesome for later configuration. We adopt the "Development Environment": Development.

3. Due to my initial understanding of angular2, I had to work on code by step. I had very few ideas and paid more attention to spelling mistakes.

4. attached my own GitHub link, please give a star, git@github.com: lihui13603981029/heroApp. after downloading git, run npm install to install the library, and then run the npm start project. There are a lot of npm installation methods on the Internet, you can Baidu. The common method for installing node is that npm is installed at the same time when node is installed.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.