Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify purpose of <script type="module"> + snippet #397

Merged
merged 4 commits into from
Dec 8, 2023

Conversation

colinrotherham
Copy link
Contributor

@colinrotherham colinrotherham commented Dec 8, 2023

Similar to the Use Nunjucks Before you start heading, I've added JavaScript Before you start

This aims to clarify the GOV.UK Frontend JavaScript supported snippet:

  • Explains that GOV.UK Frontend JavaScript must be run with <script type="module">
  • Explains that the new page template snippet adds the .govuk-frontend-supported class
  • Links to our new Browser Support page for more information

Copy link

netlify bot commented Dec 8, 2023

Deploy Preview for govuk-frontend-docs-preview ready!

Name Link
🔨 Latest commit e8b73f4
🔍 Latest deploy log https://app.netlify.com/sites/govuk-frontend-docs-preview/deploys/6572fb5694e2410008a10b66
😎 Deploy Preview https://deploy-preview-397--govuk-frontend-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@colinrotherham colinrotherham added the documentation Improvements or additions to documentation label Dec 8, 2023
Base automatically changed from typos-tweaks to release/5.0 December 8, 2023 09:46
@colinrotherham colinrotherham changed the base branch from release/5.0 to v5-content-placeholder December 8, 2023 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants