And finally, we need to add a mounted life cycle hook to query our API and populate the products array: mounted() { fetch("/api/products") .then(response ...
確定! 回上一頁