It looks like CSS files are highlighted by the SASS by default, which I feel disgusted. Is SASS a way to configure scans files in a folder that is not in the web root, but compile them in the Yes! If you use a compass, you will have a file /config/compass.rb which is the following. Here I have my Asus file in the app / stylesheet and has been compiled in TMP / Stylesheet (to help in deploying Heroko) /config/compass.rb < / P> public / stylesheets folder?
# This configuration file works with both the compass command line tool and the rail. # Any additional compass plugins required here Project_type = Rail: Project_path = Compass :: App Integration :: Rails.root #project_path = RAILS_ROOT If defined? (RAILS_ROOT) # Deploy it in the root of your project: http_path = "/" css_dir = "tmp / stylesheets" sass_dir = "app / stylesheets" environment = compass :: apiInctignation :: RailSenv # Compass helper To enable the path relative to the property through medium. Simulation: # related_asset = true
Comments
Post a Comment