Fetch data needed on component’s template in Vue before render

Let’s say in your Vue app you have a component that needs to fetch some data in order to display it on the template. This component needs this data on creation in order to be able to bind it on the template. Let’s take the following example:

In this example, we have a Vue […]

Continue reading