superRaytin / paginationjs

A jQuery plugin to provide simple yet fully customisable pagination.
http://pagination.js.org
MIT License
912 stars 659 forks source link

Why is the default styling not applied ? #82

Closed Rmy5 closed 5 years ago

Rmy5 commented 5 years ago

Why is the default styling not applied ?

I installed the lib with yarn add pagination.js And used it with: require('paginationjs')

cap

barabulkit commented 5 years ago

i actually had the same issue, its fixing by downloading pagination.css from dist of this repository and them adding this stylesheet to your page with link tag, then you can use className: 'paginationjs-theme-blue' and that will work.

Brian-Jiang commented 5 years ago

I have the same issue too

jmlp1327 commented 5 years ago

@py-den Thank you very much 👍

benmcm1994 commented 5 years ago

For those using webpack, importing the css from NPM like this @import "~paginationjs/dist/pagination.css"; Worked for me :)