সম্পাদনা
<!DOCTYPE html> <html> <body> <div id="app"> <ul> <li v-for="fruit in fruits">{{fruit}}</li> </ul> </div> <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script> <script> const {createApp, ref} = Vue; createApp({ setup() { const fruits = ref(["আপেল", "আঙ্গুর", "কমলা", "কলা"]); return {fruits}; } }).mount("#app"); </script> </body> </html>
পূর্বরূপ