-
Notifications
You must be signed in to change notification settings - Fork 126
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
Less::ParseError variable is undefined when in admin section #129
Comments
Can you prepare some minimal app to reproduce? That will speed up debug process for me. |
Will do. |
@simi Project here https://github.com/james-ai/test_project It has a single test. Oddly enough even declaring |
Hi @simi, wondered if you had a chance to look at this? Thanks, |
Having the same issue. The problem is if you want to use bootstrap variables you need to import bootsrap.less but how to do that? |
I get the following error when loading a page in the admin area of the application I'm writing.
@gray-lightest
is defined inapp/assets/stylesheets/custom_bootstrap/variables.less
.I'm using a different manifest file for the admin area so in that page I have:
In
app/assets/stylesheets/admin/manifest.css
I have:And in
sidebar.css.less
:If I define
@gray-lightest
insidebar.css.less
then the file complains about@gray-lighter
being undefined. If I then define@gray-lighter
too then the pages in the admin area load fine.Here are my env details:
The text was updated successfully, but these errors were encountered: