Sha256: c1e8a55a4348424363915f22aa5d090cff092f7c67ba42aa4367ffc258717531
Contents?: true
Size: 671 Bytes
Versions: 1
Compression:
Stored size: 671 Bytes
Contents
SCSS_INIT = <<-SCSS unless defined?(SCSS_INIT) # Enables support for SCSS template reloading in rack applications. # See http://nex-3.com/posts/88-sass-supports-rack for more details. # Store SCSS files (by default) within 'app/stylesheets'. require 'sass/plugin/rack' Sass::Plugin.options[:syntax] = :scss Sass::Plugin.options[:template_location] = Tennpipes.root("app/stylesheets") Sass::Plugin.options[:css_location] = Tennpipes.root("public/stylesheets") app.use Sass::Plugin::Rack SCSS def setup_stylesheet require_dependencies 'sass' initializer :scss, SCSS_INIT.chomp empty_directory destination_root('/app/stylesheets') end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tennpipes-init-3.6.6 | lib/tennpipes-init/generators/components/stylesheets/scss.rb |