-
Notifications
You must be signed in to change notification settings - Fork 4
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
frontend-toolkit - gem dependency/packaging issue #33
Comments
Hi Sergio, Thanks for raising this. I've been able to reproduce this – it looks like that failing include is actually trying to import this file from Elements. However, if you include the component parts of Frontend Toolkit and Elements as per the example in the readme it should work fine – with one exception:
should be
I'll raise a PR to update those docs now, and that should work fine for you. In the meantime, I'll try and dig in and work out why |
I'm closing this as I believe it was addressed by #34. |
These files should have been symlinked when alphagov#35 was merged but they were missed. Also related to alphagov#33
The following file that is included in the bundled gem call the following:
govuk_elements_rails/vendor/assets/stylesheets/_govuk-elements.scss
Line 1 in a15b523
but when the bundled file
_govuk-elements.scss
executes the following:It can't successfully load it, as neither this gem includes it, neither the govuk_frontend_toolkit_gem.
For context, I've noticed this while setting the following in my main
scss
file for my Rails app:The actual error I got was the following:
Would it be possible to add the
frontend-toolkit
file to its gem so it can be loaded correctly? (I've noticed that in dev mode the gem seems to work as the source code has a git submodule linked to the actualgovuk_elements
source code where thefrontend-toolkit
file does exist.The text was updated successfully, but these errors were encountered: