I am trying to do searching and pagination with a Web API that is not mine, i have the basic working for it to talk, but when want to paginate I need to use different GET params than what Vue is sending. When someone presses Page two, I need to get to: example.com/api/data?page=2&items=15
How do I jimmy that into this please, and ad a bonus, how do i also do something like this:
example.com/api/data?page=2&items=15
&name=test
export default({
data() {
return {
data: new DataManager({
url: 'example.com/api/data',
adaptor: new WebApiAdaptor(),
crossDomain: true
})
};
},
provide: {
grid: [Page]
}
});