Could you please provide sample project on Play with angular router


(Kubendra) #1

We are in the process of migration from Play 2.5 to 2.6. Can we get a sample project on Play with angular routes?


(Will Sargent) #2

You mean like https://medium.com/@yohan.gz/https-medium-com-yohan-gz-angular-with-play-framework-a6c3f8b339f3 ?


(Kubendra) #3

A sample project with Play 2.6 and Angular 1


(Marcos Pereira) #4

Hi @Kubendra,

There are multiple sample applications using Play with Angular, for example:

  1. https://github.com/mariussoutier/play-angular-require-seed
  2. https://github.com/yohangz/scala-play-angular-seed
  3. https://github.com/yohangz/java-play-angular-seed
  4. https://github.com/s4kibs4mi/play-angular2-java-seed
  5. https://github.com/vallim/cursos-crud-play-angular4
  6. https://github.com/robinraju/play-ng2-webpack2

Maybe they are not using the exact versions you want, but you can start with any of them.

Is there a more specific problem you are having while integrating Play and Angular?

Best.


(Will Sargent) #5

https://www.playframework.com/documentation/2.6.x/Tutorials#AngularJS,-RequireJS-and-sbt-web