Giter Club home page Giter Club logo

ng-bootstrap-to-bootstrap-3's Introduction

ng-bootstrap to Bootstrap 3

A CSS compatibility patch to make ng-bootstrap work with Bootstrap 3.
Include this after Bootstrap 3 CSS.

Install

npm install ng-bootstrap-to-bootstrap-3
  • Import, require, link, whatever, after Bootstrap 3 CSS. Tested with Bootstrap v3.3.7.

Components (see linked demos)

Look for comments in the linked demo, but keep in mind that the approach is always the same:

  1. Unlink Bootstrap 4, link Bootstrap 3.3.7
  2. Link ng-bootstrap-to-bootstrap-3 CSS patch after Bootstrap 3.3.7
  3. Use the markup from Bootstrap 3.3.7 for Angular templates
  4. Use the directives, event handlers, and whatever from ng-bootstrap instead of the data-something ones from Bootstrap 3

TODO

  • (nice-to-have) Demo page a-la ng-bootstrap

ng-bootstrap-to-bootstrap-3's People

Contributors

trumbitta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ng-bootstrap-to-bootstrap-3's Issues

Support for ng-bootstrap >= 2.0.0

@ng-bootstrap/ng-bootstrap is currently at version 2.1.1, however this package lists @ng-bootstrap/ng-bootstrap@^1.0.0-alpha.20 as its peer dependency and thus generated a warning. Is this module compatible as-is or does it require updating to be compatible with ng-bootstrap 2+ and Angular 6?

How should I link this?

Hi,

what's the best practice to link the CSS? My bootstrap.css is a simple link in my index.html I added @import '~ng-bootstrap-to-bootstrap-3/dist/ng-bootstrap-to-bootstrap-3.min.css'; to styles.css.

Are you supposed to link the css like this?

Thanks!

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.