-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: document jQuery requirement (#187)
As noted in #134, moj-frontend requires JavaScript but never mentions this in documentation. This change updates documentation to clarify that jQuery must be installed and included. Also moves the "Installing via NPM" and "Supporting IE8" into the main application
- Loading branch information
Showing
5 changed files
with
54 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
layout: layouts/get-started.njk | ||
title: Supporting Internet Explorer 8 | ||
--- | ||
|
||
If you are including MOJ Frontend as part of your application's stylesheets then you'll need to do some additional work to support Internet Explorer 8 (IE8). | ||
|
||
The first thing you need to do is follow [GOV.UK Frontend's setup instructions](https://frontend.design-system.service.gov.uk/supporting-ie8/) for supporting Internet Explorer 8. | ||
|
||
When [generating your IE8-specific stylesheet](https://frontend.design-system.service.gov.uk/supporting-ie8/#2-generate-an-ie8-specific-stylesheet), your `application.scss` will also include the MOJ Frontend import: | ||
|
||
```scss | ||
// application.scss | ||
|
||
@import "govuk-frontend/frontend/all"; | ||
@import "@ministryofjustice/frontend/all"; | ||
|
||
.example { | ||
// example application style | ||
} | ||
|
||
// application-ie8.scss | ||
|
||
$govuk-is-ie8: true; | ||
|
||
@import "application"; | ||
``` |
This file was deleted.
Oops, something went wrong.