-
Notifications
You must be signed in to change notification settings - Fork 82
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
Specify Stylesheet Path in Config #111
Comments
Interesting idea. Maybe people customize the location of their stylesheets enough that having a configurable path option like this is a good idea. But what about generating stylesheets at a given path with the command itself - iron g:stylesheet some/path/to/stylesheet.less |
That could work too. But it might get a little redundant for bigger apps. I'm just trying to think in terms of high level flexibility. And if the path is the only thing that needs to be customized to enable the sass developer to efficiently create sass sheets, then it might not be a bad idea to have it in there as a quick one line modification. |
For sass users, it would be nice to be able to specify the path at which stylesheets are generated.
To do this, we would probably need to have the concept of variables within a path. The default could look like this:
For sass, it would look something like:
Excluding the
$template-name
variable would prevent the stylesheet generator from creating an additional folder (named whatever the template name is).In the generator, we could just tear down the path from the config file and reconstruct it with the correct values.
The text was updated successfully, but these errors were encountered: