Each bit of my project is a separate component, with its own hierarchy. To include them in my file, I just need to include the app.js
and inject it to whatever I want. So for each component, I have a separate config.rb
file to run the compass for it.
Now, say I have the following hierarchy:
/app
config.rb
/assets
/sass
_functions.scss
/css
/components
/login
/assets
/sass
app.scss
/css
config.rb
Say I want to @import
_functions.scss
into app.scss
. Right now, I have to use the relative path , and basically keep on going back the root folder, and then go into the folder for the file.
Is there a way to define the path inside the login
's config.rb
file?