Simple library wrapping the GDS GOV.UK template.
Note that currently we forked the GDS files. This solution is temporary and in future we will import the GDS artifact directly.
In order to use the template, you have to add this line to your application routes
file
-> /template template.Routes
This library has different releases for Play 2.8, Play 2.9, and Play 3.0.
Add the following to your SBT build (please note the differences from Play 2.9 onwards):
- Play 2.8:
libraryDependencies += "uk.gov.hmrc" %% "govuk-template" % "5.80.0-play-28"
- Play 2.9:
libraryDependencies += "uk.gov.hmrc" %% "govuk-template-play-29" % "6.0.0"
- Play 3.0:
libraryDependencies += "uk.gov.hmrc" %% "govuk-template-play-30" % "7.0.0"
This code is open source software licensed under the Apache 2.0 License.