You can loop over generic iterables with each [...iterable] . You can get the current index as a second argument, like so: {#each cats as ...
確定! 回上一頁