GithubHelp home page GithubHelp logo

Comments (7)

Jahnp avatar Jahnp commented on June 19, 2024

Yes! We absolutely plan to do this--both in Bower and NPM eventually. Initially we'll do this manually, but the plan is to use Travis to automate the deployment and publish process.

In the meantime, you can actually still install Fabric via Bower by linking directly to the repo:

bower install β€˜git://github.com/OfficeDev/Office-UI-Fabric#1.0.0’

And in bower.json:

{
  "dependencies": {
    "Office-UI-Fabric": "git://github.com/OfficeDev/Office-UI-Fabric#1.0.0"
  }
}

Does this help? Thanks!

from office-ui-fabric-core.

wcarson avatar wcarson commented on June 19, 2024

My newness to bower is showing. I didn't realize you could specify a repository directly. Works great. Thanks!

from office-ui-fabric-core.

andrewconnell avatar andrewconnell commented on June 19, 2024

To pile on, if you use this method to only include the compiled CSS, you can add the following to your .gitignore to commit the compiled CSS in that release to your source.

!bower_components/
bower_components/*
!bower_components/Office-UI-Fabric/
bower_components/Office-UI-Fabric/*
!bower_components/Office-UI-Fabric/dist/
bower_components/Office-UI-Fabric/dist/*
!bower_components/Office-UI-Fabric/dist/css/

You can see how I've referenced it in my bower.json & how I've setup my .gitignore file so that I only have the compiled CSS committed to my source: https://github.com/ngOfficeUIFabric/officeuifabric.github.io/tree/master/bower_components/Office-UI-Fabric/dist/css

from office-ui-fabric-core.

Jahnp avatar Jahnp commented on June 19, 2024

Alright, installing by Bower and NPM should work now. Try running npm i office-ui-fabric or bower i office-ui-fabric and let us know if there any kinks. Thanks!

from office-ui-fabric-core.

wcarson avatar wcarson commented on June 19, 2024

Worked great! Thanks.

from office-ui-fabric-core.

Jahnp avatar Jahnp commented on June 19, 2024

Awesome! I'll go ahead and close this, then. Cheers!

from office-ui-fabric-core.

andrewconnell avatar andrewconnell commented on June 19, 2024

SWEET!!!!!

killerpostman

from office-ui-fabric-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.