Let's say you have the following directroy structure:
project
|-- config.rb
+-- apps
|-- main.scss
|-- app1
+-- appst1.scss
|-- app2
+-- appst2.scss
+-- app3
+-- appst3.scss
Then adjust your config.rb
:
sass_dir = "apps"
add_import_path "apps"
...
and in your main.scss include the other scss files:
@import "app1/appst1";
@import "app2/appst2";
@import "app3/appst3";
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…