wilded
2/6/2019 - 10:50 AM

Vue.js Componen Template

<template>
    <div>
        /*Runs through an array*/
        <div v-for="todo in todos" :key="todo.id">
            <h3>{{todo.title}}</h3>
        </div>
    </div>
</template>
<script>
export default {
    name: "TemplateName", 
    props: ["todos"] /*Variables that it recieves*/
}
</script>
<style scoped>

</style>