Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I use an Array of Object instead of api-url? #5

Closed
DannyFeliz opened this issue Apr 26, 2016 · 1 comment
Closed

Can I use an Array of Object instead of api-url? #5

DannyFeliz opened this issue Apr 26, 2016 · 1 comment

Comments

@DannyFeliz
Copy link

I get the data from a variety of places then I construct an Array of Objects and validate some data, so how can I pass this data to Vue-table without use use api-url?

@ratiw
Copy link
Owner

ratiw commented Apr 26, 2016

@DannyFeliz vuetable is designed to work with the backend server from the beginning and all features are tied back to it. e.g. sorting, filtering. So, there is no way to use Array of Objects with vuetable. This is because it will always need a place (the sever) to interact with, but the Array of Objects will not be able to do that.

I would suggest you make an intermediate agent/source (as another layer in your app) to gather and combine those information and then serve it to vuetable instead (that means it will have a url). Node.js might be a good solution, but you might use any other solution that you're comfortable with as well.

@ratiw ratiw closed this as completed Apr 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants