在Nuxt中額外提供了一個asyncData的屬性,讓服務器在渲染組件之前先異步獲取數據, ... const api = `https://dog.ceo/api/breeds/image/random`;
確定! 回上一頁