1.添加分頁庫:數組
meteor add alethes:pages
2.新建分頁:緩存
Pages = new Meteor.Pagination("collection-name")
3.設定(分通用/客戶端/服務端):app
客戶端:函數
{name: {$lt: 5}}
服務端:佈局
auth (Function, default = undefined) - 由內建發佈方法調用的受權函數,參數有:ui
受權函數的返回值爲:this
this.Collection.find(*filters*, *option*)
pageSizeLimit
)