Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Nunjucks component paths (#305)
`node_modules/govuk-frontend/dist/components/` was missing `govuk/` before `components/`, however we don't really need both the higher-level and lower-level paths here. For greater consistency, just using the higher-level path to enable a single clearly-namespaced route to each GOV.UK and MOJ Nunjucks component makes more sense. The lower-level path is often unused on projects that use this template Imports should therefore look like this: ```njk {% from "govuk/components/checkboxes/macro.njk" import govukCheckboxes %} ``` ... and not this: ```njk {% from "checkboxes/macro.njk" import govukCheckboxes %} ```
- Loading branch information