I have an open source medium size application (about 100
pages) which is written in Angular 1.x. I used javascript for developing this
application. In addition I am using UI Router, UI Grid and Material for
developing pages in this application. Now I am upgrading this application to
Angular 2. This blog is my experience in upgrading this application to Angular
2.
From the beginning of this application, I was following most
of the patterns recommended in the style guide (when I started this
application, there is no recommended style guide). As per Angular upgrade docs
if we follow the recommended style guide then it should easy to upgrade. I hope
my upgrade will be easy.
Here are the 7 steps I followed for this migration.
- Preparation
- Switching JavaScript to TypeScript
- Bootstrapping with UpgradeModule
- Wrap Angular 1 Modules
- Upgrading Components and Services
- Routing Configuration
- Goodbye Angular 1
No comments:
Post a Comment