Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

craigplummer/office-ui-fabric-core-rails

Repository files navigation

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

About

Gem for including Office UI Fabric Core (http://dev.office.com/fabric) in your rails app

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published