-
-
Notifications
You must be signed in to change notification settings - Fork 69
how to use asyncData ? #51
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
Comments
Can you provide a demo repo or a sandbox with your code in it? With a simple log message, it is difficult to point out the issue. Thanks |
Does this library support an |
The |
thanks @p1n5u. I had been trying to use |
@hmillison could you make a repo with your code? I would like to take a closer look at the issue you have 🙂 |
Im using this with vue-class-component, which has not added “serverPrefetch” to their list of component hooks: vuejs/vue-class-component#312 |
@p1n5u @hmillison vue cli ssr plugin and axios data fetch ssr using repo share pls ? I have problem api call vuex inital state not update |
@mesutgok hi, try use serverPrefetch for data fetch serverPrefetch() {
return this.fetchUsers();
},
methods: {
fetchUsers() {
return this.$store.dispatch('getUsers');
},
} |
Hi,
how to use asyncData ? I have problem app init vuex state data.
Good works
The text was updated successfully, but these errors were encountered: