All Projects → vhyza → Sass Rails Source Maps

vhyza / Sass Rails Source Maps

Licence: mit
DEPRECATED: Rails gem for generating sass source maps

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Sass Rails Source Maps

System
A full-stack framework built from Aura library packages.
Stars: ✭ 61 (-30.68%)
Mutual labels:  deprecated
Grunt Myth
Myth - Postprocessor that polyfills CSS
Stars: ✭ 70 (-20.45%)
Mutual labels:  deprecated
Adminbar
DEPRECATED – Front-end shortcuts for clients logged into Craft CMS.
Stars: ✭ 77 (-12.5%)
Mutual labels:  deprecated
Dashboard Extension Webpage Item
⛔ DEPRECATED. This project was moved to a new repository. Visit https://github.com/DevExpress/dashboard-extensions to find an updated version.
Stars: ✭ 62 (-29.55%)
Mutual labels:  deprecated
Django Cache Url
DEPRECATED | Use Cache URLs in your Django Application
Stars: ✭ 68 (-22.73%)
Mutual labels:  deprecated
Kirby Twig
Twig templating support for Kirby CMS 2. For Kirby 3, use https://github.com/amteich/kirby-twig
Stars: ✭ 73 (-17.05%)
Mutual labels:  deprecated
Notifier For Github Firefox
[DEPRECATED] Firefox extension - Displays your GitHub notifications unread count
Stars: ✭ 58 (-34.09%)
Mutual labels:  deprecated
Framework7 With Angularjs Demo App
⛔️ Unmaintained and deprecated!
Stars: ✭ 81 (-7.95%)
Mutual labels:  deprecated
Entware Ng
Entware-ng
Stars: ✭ 1,157 (+1214.77%)
Mutual labels:  deprecated
React Axe
[DEPRECATED] Accessibility auditing for React.js applications
Stars: ✭ 1,201 (+1264.77%)
Mutual labels:  deprecated
Conductor
Conductor makes it easy to mange multiple composer packages within a single source repository
Stars: ✭ 64 (-27.27%)
Mutual labels:  deprecated
Onedrive Fuse Fs
Script to mount Microsoft OneDrive (formerly known as SkyDrive) folder as a FUSE filesystem
Stars: ✭ 68 (-22.73%)
Mutual labels:  deprecated
Formspopup
Xamarin.Forms Popup View
Stars: ✭ 75 (-14.77%)
Mutual labels:  deprecated
Twoot
An open source light-weight OS X twitter client based on jQuery and Fluid (deprecated!)
Stars: ✭ 61 (-30.68%)
Mutual labels:  deprecated
Vagrant Librarian Chef
*UNMAINTAINED* A Vagrant plugin to install Chef cookbooks using Librarian-Chef.
Stars: ✭ 80 (-9.09%)
Mutual labels:  deprecated
Anatine
[DEPRECATED] 🐦 Pristine Twitter app
Stars: ✭ 1,102 (+1152.27%)
Mutual labels:  deprecated
Sphero Mac Sdk
🚫 DEPRECATED: Sphero SDK for the Mac platform.
Stars: ✭ 70 (-20.45%)
Mutual labels:  deprecated
Codeigniter Schema
⛔️DEPRECATED Expressive table definitions
Stars: ✭ 87 (-1.14%)
Mutual labels:  deprecated
Angular2 Style Guide
[Deprecated] Community-driven set of best practices and style guidelines for Angular 2 application development
Stars: ✭ 1,237 (+1305.68%)
Mutual labels:  deprecated
Waxosuit
(deprecated in favor of wascc-host)
Stars: ✭ 76 (-13.64%)
Mutual labels:  deprecated

DEPRECATED: Sass Rails Source Maps

This gem is not under active developement

As an alternative, you can try to use sassc-rails with inline source maps support.


NOTE: This gem requires sass-rails version 5.0.0

This gem allows you to see your Rails 4 .scss source files in Google Chrome inspector, which can be useful for debugging.

debug_info option available in stable sass gem is no longer working in Google Chrome, because Chrome now supports Source Map v3 only.

Installation

Source Maps are supported by sass gem in version 3.3 and higher. Unfortunately, sass-rails, the rails dependency, freezes sass gem to version ~> 3.2.0. To use this gem, you need to follow these steps:

  • Add sass-rails-source-maps to your application's Gemfile :
group :development do
  gem 'sass-rails-source-maps'
end

This branch depends on sass-rails version 5.0.0 which has more relaxed dependency for sass gem. So to avoid version conflict you need to:

  • Unfreeze sass-rails gem in your Gemfile (delete version for sass-rails)

For example, in new Rails 4.1.5 application change line

gem 'sass-rails', '~> 4.0.3'

to

gem 'sass-rails'

in your Gemfile.

  • And then execute:
bundle update sass-rails
  • After that, run:
rake assets:clobber

to make Rails regenerate assets. After assets regeneration, assets/source_maps containing sass source maps is created in public directory.

Usage

If everything works fine, you should see something like this screenshot

Enabling source maps may vary in different Chrome versions. For more info please see Working with CSS Preprocessors.

Notes

  • This gem is not intended for production usage.
  • This gem is Rails 4.x compatible only

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].