... const { data: posts } = useSWR('https://jsonplaceholder.typicode.com/posts') </script> {#if posts} {#each posts as post (post.id)} ...
確定! 回上一頁