Giter VIP home page Giter VIP logo

bootstrap_for_pub's Introduction

Bootstrap for Pub

Just a pub package of Bootstrap, "The most popular front-end framework for developing responsive, mobile first projects on the web."

Currently contains Bootstrap 4.0.0-alpha.6

Installation

See the install instructions.

Usage

You can include the bootstrap stylesheets and script once you have added this package as a dependency to your application:

    <!-- include the stylesheets -->
    <link rel="stylesheet" href="packages/bootstrap/css/bootstrap.css">
    
    <!-- include the javascript -->
    <script src="packages/bootstrap/jquery/jquery.js"></script>
    <script src="packages/bootstrap/js/bootstrap.js"></script>

Note that the versions in the snippets above are the non-minified version. The transformer available in this package will automatically rewrite the URI to point to the minified versions when pub is invoked in release mode.

To activate the transformer, update your pubspec.yaml

transformers:
- bootstrap:
    url: //maxcdn.bootstrapcdn.com/bootstrap/{{version}}
    version: 4.0.0-alpha.6

The transformer takes up to two optional parameters:

  • url: when specified the local base url (packages/bootstrap/) will be replaced by the given url. This is useful to automatically switch to using a CDN for your production environment.
  • version: when specified, the sub-string "{{version}}" in the url parameter will be replaced with its value.

Learn more

Visit the official Bootstrap homepage for docs and more.

See LICENSE.

bootstrap_for_pub's People

Contributors

andresaraujo avatar madisona avatar richerlariviere avatar sethladd avatar stevenroose avatar vicb avatar wil93 avatar

Watchers

 avatar

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.