Turn on compatibility mode for GOVUK Frontend

Automatically fixes a load of known issues that
arise when you use GOVUK Frontend at the same time
as GOVUK Frontend Toolkit, GOVUK Template and
GOVUK Elements.
This commit is contained in:
Tom Byers
2020-01-07 09:58:16 +00:00
parent b7af288be2
commit 024812b49a

View File

@@ -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/";