We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We decided to use vuex-crud for store management. Apaprently the urls are kind of fixed at the moment, for each crud modul.
The text was updated successfully, but these errors were encountered:
Apaprently vuex-crud provides a way to modify the parameters a url can accept, before the service is fetched.
(e.g.) Implementation
createCrudModule({ resource: this.name, customUrlFn(id) { const rootUrl = 'http://localhost:8080/api/articles/' return id ? `${rootUrl}${id}` : rootUrl } });
Usage
methods: { fetchResource: function() { const resourceName = this.name + "/fetchSingle"; return this.$store.dispatch(resourceName, { id: this.$route.params.id }); } }
Sorry, something went wrong.
It's been decided, we will generalize the default axios client vuex-crud ships with. WIP in this fork
sgobotta
No branches or pull requests
We decided to use vuex-crud for store management. Apaprently the urls are kind of fixed at the moment, for each crud modul.
The text was updated successfully, but these errors were encountered: