Answer the question
In order to leave comments, you need to log in
How to manage data in Vue.js?
I'm making a small application using Vue.js.
Through the API, a large portion of data (an array of objects) is loaded at a time, with which further manipulations take place without requests to the server. At the mounted stage, I call axios and write all the received data to this.store, I give an example of a data element:
this.store[0] = { id : 1,
type : 2,
city: 10,
description: 'text' }
Answer the question
In order to leave comments, you need to log in
But they need to be calculated after the data is ready.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question