Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 2.34 KB

README.md

File metadata and controls

59 lines (39 loc) · 2.34 KB

Banner

QMUI Sass Version Number

Sass helper of QMUI Web, dealing with layout, appearance, device adaptation, math calculation and other SASS enhancement.

Document:http://qmuiteam.com/web/page/tools.html

Build Status devDependencies QMUI Team Name License

QMUI Sass is the sass helper of QMUI Web. It ships with more than 70 SASS Mixin, Function and Extend, dealing with layout, appearance, animation, device adaptation, math calculation and other SASS enhancement, which will make your development faster and easier.

Installation

Ruby on Rails.

Add this line to your application's Gemfile:

gem 'QMUI_Sass'

And then execute:

$ bundle

Or install it yourself as:

$ gem install QMUI_Sass

Import QMUI Sass styles:

@import "qmui"

npm / Node.js

$ npm install qmui-sass

If you use webpack, you can import QMUI Sass like so:

@import '~qmui-sass/assets/stylesheets/qmui';

Development

After checking out the repo, run bin/setup to install dependencies. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.