Here I share my notes that might be interesting to others
Friday, 20 October 2017
Angular simple routing example
Let's create a new project:
Then let's create two components: intro and body:
Let's update the template app.component.html:
And the module file app.module.ts
Done! Now we can switch between the two components:
No comments:
Post a Comment