<template> <div> <div v-for="item in reversedItems" :key="item">{{ item }}</div> </div> </template> <script> export default { data() { return { items: Array.from({ length: 10 }, (_, index) => index + 1), }; }, computed: { reversedItems() { return this.items.slice().reverse(); }, }, }; </script>