Skip to content

Commit

Permalink
Update management pages to use GOV.UK Frontend v5 scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Sep 28, 2023
1 parent 06ca9ac commit 5495022
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/nunjucks/views/manage-prototype/scripts.njk
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<script src="/plugin-assets/govuk-prototype-kit/lib/assets/javascripts/kit.js"></script>
<script src="/manage-prototype/dependencies/govuk-frontend/govuk/all.js"></script>
<script src="/manage-prototype/dependencies/govuk-frontend/govuk-prototype-kit/init.js"></script>
<script src="/manage-prototype/dependencies/govuk-frontend/dist/govuk/govuk-frontend.min.js" type="module"></script>
<script type="module">
import { initAll } from '/manage-prototype/dependencies/govuk-frontend/dist/govuk/govuk-frontend.min.js'
initAll()
</script>

0 comments on commit 5495022

Please sign in to comment.