0👍
You can use asyncData to load the data from the store (https://nuxtjs.org/guide/async-data)
async asyncData(context) {
let result = await context.store.dispatch('my-data')
return {
data: result
}
}
- [Vuejs]-How to accept multiple file types in swal sweetalert
- [Vuejs]-How can I import a JS file from a folder in my Vue JS project?
Source:stackexchange.com