Repository is archived
No commit activity in last 3 years
No release in over 3 years
Include the Office UI Fabric Core framework in your rails app
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.12
>= 0
~> 10.0
~> 3.0

Runtime

>= 3.1.0
 Project Readme

office-ui-fabric-core-rails

Gem Version

office-ui-fabric-core-rails integrates the Office UI Fabric Core framework from Microsoft into the Rails Asset Pipeline.

Installation

Add this line to your application's Gemfile:

gem 'office-ui-fabric-core-rails'

If you want to include the Fabric JS components from the Office UI Fabric JS framework. You should also include:

gem 'office-ui-fabric-js-rails'

And then execute:

bundle

Usage

Add Office UI Fabric to your CSS

CSS

Add the following line to the end of your app/assets/stylesheets/application.css file:

*= require fabric

Sass

If you are using Sass then you can add the following to your application.scss instead:

@import "Fabric";

Using Office UI JS Components

For instructions on how to use the Office UI Fabric JS Components see: https://github.com/craigplummer/office-ui-fabric-js-rails

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/craigplummer/office-ui-fabric-core-rails.

For issues with Office UI Fabric itself please use https://github.com/OfficeDev/office-ui-fabric-core

License

The Office UI Fabric framework and the rest of the office-ui-fabric-core-rails project are licenced under the MIT License