Skip to content

sunilparajuli/DRF-Vue-numbering-Pagination-Snippet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DRF-Vue-numbering-Pagination-Snippet

Django Rest Framework with Vuejs / Frontend Pagination

Initial data property in frontend

  clients: [], //data to be loaded from api or other sources      
  currentPage: 1, //intially currentpage is always 1      
  showNextButton: false, //show next page boolean
  showPrevButton: false,
  startPage : 1, //starting page number .... 
  paginateItem : 3, //how many numbers we will be showing in one page example : 1,2,3 ...lastpage 
  endPage : 1, // endpage is upto how many number we will be showing the paginated number
  totalPages : 1, // total pages is total pagination number we will be having...
  pages : [],
  
  
  
  intial-credit 
  Code With Stein
  https://www.youtube.com/watch?v=Cd2e8_3aIto

About

Django Rest Framework with Vuejs / Frontend Pagination

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published