GithubHelp home page GithubHelp logo

Comments (7)

braj065 avatar braj065 commented on May 27, 2024 5

God. This was so helpful. Wasted 2 hrs then landed on this.

from react-js-pagination.

hariDasu avatar hariDasu commented on May 27, 2024 1

Works perfectly with reactstrap library. Why not create a PR for this?
I don't mind if you want me to create a PR for you.

how do you integrate this with any bootstrap? it isnt clear to me from the examples what require("bootstrap/less/bootstrap.less"); does, i cant seem to get it to work for me in my jsx file.

also not entirely sure how to get this pagination library component to merge with reactstrap's pagination components

from react-js-pagination.

souuu avatar souuu commented on May 27, 2024 1

Works perfectly with reactstrap library. Why not create a PR for this?
I don't mind if you want me to create a PR for you.

Can you explain how you make it works with reactstrap please ?

from react-js-pagination.

windhamwong avatar windhamwong commented on May 27, 2024

Works perfectly with reactstrap library. Why not create a PR for this?
I don't mind if you want me to create a PR for you.

from react-js-pagination.

wwwaiser avatar wwwaiser commented on May 27, 2024

I am not forcing anyone to use react-js-pagination with bootstrap. It is just compatible with bootstrap and you can integrate it into any bootstrap project with 0 configuration.

about require("bootstrap/less/bootstrap.less"); this is just a line from example, the way how I imported bootstrap styles into example. You need to add less-loader to the webpack config to make example works.

But, you can add bootstrap styles in any other way:
import 'bootstrap/dist/css/bootstrap.min.css';
or
<link rel="stylesheet" href="path-to-bootstrap.css">

from react-js-pagination.

hariDasu avatar hariDasu commented on May 27, 2024

thanks, @vayser i did ultimatly end up using the less-loader in my webpack config and it worked with this line

from react-js-pagination.

wwwaiser avatar wwwaiser commented on May 27, 2024

@cmakohon thank you for your comment, I'm going to add it to README

from react-js-pagination.

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.