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

Modified test v5 with sprockets #362

Closed
wants to merge 11 commits into from
Closed

Conversation

kr8n3r
Copy link
Contributor

@kr8n3r kr8n3r commented Sep 17, 2024

What’s changed

Identifying a user need

huwd and others added 11 commits September 5, 2024 21:27
There was a major breaking change in moving to v5 of the design system
one of the key consequences was moving files onto a new /dist path. in
line with guidance here we're updating it, see their changelog for more
details:

https://github.com/alphagov/govuk-frontend/blob/main/CHANGELOG.md#500-breaking-release
This mixin has been removed and we're no longer targeting any IE prior
to 11, so removing this out, see:

https://github.com/alphagov/govuk-frontend/blob/main/CHANGELOG.md#500-breaking-release
Works for serve, but not yet for build

DS accordion JS http://localhost:4567/test-accordion.html
This seems to allow us to ensure a file called govuk-frontent.js is
present in the build folder. Wondering if this allows us to solve the
issue and bring both into the <head> scripts?
but without minification as the minifier doesn support e6

In your downstream project
- create a file called "govuk_frontend.js" in assets/javascript folder
- add //= require govuk_frontend_all
- serve or build
@kr8n3r kr8n3r closed this Sep 17, 2024
@kr8n3r kr8n3r deleted the modified-test-v5-with-sprockets branch September 17, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants