get data by api vue code example Example: how to use api url in vue <a :href="post.url" target="_blank"><img :src="post.image_url"></a>