Angular 2 router examples + @Routes typing support

后端 未结 6 2250
迷失自我
迷失自我 2020-12-14 17:36

I am trying to find a concrete example on how to use the router in Angular 2. Furthermore the current angular2.d.ts typing file from the 5 min quickstart does

6条回答
  •  旧时难觅i
    2020-12-14 17:49

    The best I've seen thus far is https://github.com/angular-class/angular2-webpack-starter (it's with webpack as well - it's worth the effort IMHO) Also, it's with TypeScript support as well.

    Also, based on the last link is my starter, which can be found here - https://github.com/EladRK/angular-starter

提交回复
热议问题