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

Allow configuration of govuk-frontend package being used #314

Open
romaricpascal opened this issue Dec 16, 2022 · 0 comments
Open

Allow configuration of govuk-frontend package being used #314

romaricpascal opened this issue Dec 16, 2022 · 0 comments

Comments

@romaricpascal
Copy link
Member

romaricpascal commented Dec 16, 2022

What should change

Provide a way for projects using tech_docs_gem to override where govuk-frontend gets loaded from so it's not tied to the version set by tech_docs_gem.

A quick path for that may be to provide a govuk_frontend_path option to GovukTechDocs.configure letting people point to the package in their own node_modules.

User need

During our latest release of GOV.UK Frontend, we noticed that our tech docs were not picking up the style fixes brought by our package.

Following the trails, this looked due to the tech_docs_gem configuring Sprockets to load its own version of govuk-frontend which it would be great to have some control on or be able to override.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant