這裡使用Nuxt 的asyncData,在vue 渲染component data 之前取得ajax 資料。 asyncData 參數帶context,可以用 console.log(context) 出來看看,可以看到裡面很多參數 ...
確定! 回上一頁