-
-
Notifications
You must be signed in to change notification settings - Fork 261
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
Custom variables in a different directory #94
Comments
All of the variables (in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've installed admitkit via yarn, so that it's downloaded into node_modules and I don't have to check it into my repository.
My webpack.config.js file is at the root, and contains
I'm trying to figure out how to customize the variables in _custom.scss without modifying files in the node_modules directory:
What I think I want to do is create a 1-variables/_custom.scss in my /asset/styles directory (which is checked into source control), and then set webpack to first check my directory for a matching filename, and use it if it exists.
This is further complicated by the fact that I'm using Webpack Encore (a wrapper to simplify Webpack), and that I really don't know what I'm doing. I'm learning a lot by looking at your code, it's clean and elegant, and I'm quite pleased to be using it.
I realize this is more a webpack question than admitkit, this is what I was asking in another issue about documenting integration. I'm working on a Symfony bundle that uses adminkit and integrates some core functionality like creating the sidebar menu.
Thanks.
The text was updated successfully, but these errors were encountered: