diff --git a/app/assets/stylesheets/govuk-frontend/_all.scss b/app/assets/stylesheets/govuk-frontend/_all.scss index 9ecefd894..e91af0467 100644 --- a/app/assets/stylesheets/govuk-frontend/_all.scss +++ b/app/assets/stylesheets/govuk-frontend/_all.scss @@ -2,6 +2,13 @@ // Included to allow us to only include the components we need // All imports come from node_modules/govuk-frontend +// turn on compatibility mode for all legacy frameworks +// https://github.com/alphagov/govuk-frontend/blob/master/docs/installation/compatibility.md#turn-on-compatibility-mode +// to be removed when these frameworks are removed. +$govuk-compatibility-govukfrontendtoolkit: true; +$govuk-compatibility-govuktemplate: true; +$govuk-compatibility-govukelements: true; + // set asset URL root to match that of application $govuk-assets-path: "/static/";