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
Better support Prototype Kit v13 #465
Labels
Comments
gregtyler
added a commit
that referenced
this issue
Mar 16, 2023
Allow the Pattern Library to automatically be available in the Prototype Kit when installed. This requires producing a file with jQuery bundled (`all.jquery.min.js`) and an init file (`init.js`). When loaded into the Prototype Kit they automatically initialise all the components. Update the documentation to explain that no further steps are necessary. Fixes #465
gregtyler
added a commit
that referenced
this issue
Mar 21, 2023
Allow the Pattern Library to automatically be available in the Prototype Kit when installed. This requires producing a file with jQuery bundled (`all.jquery.min.js`) and an init file (`init.js`). When loaded into the Prototype Kit they automatically initialise all the components. Update the documentation to explain that no further steps are necessary. Fixes #465
🎉 This issue has been resolved in version 1.6.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
v13 of the prototype kit no longer contains jQuery and doesn't manually init components, so our current installation instructions are insufficient.
We should update
govuk-prototype-kit.config.json
to include a version of the Pattern Library that has jQuery bundled into it, and to include an automatic init file.See also alphagov/govuk-prototype-kit#1823
The text was updated successfully, but these errors were encountered: