feat: Utilizando Vue em um projeto e entendendo estrutura

This commit is contained in:
Amadeu José Andrade Junior
2025-01-09 12:00:09 -03:00
parent 72f6ac55a4
commit 85fd53aec9
17 changed files with 14089 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<template>
<button @click="onClick()" :style="{backgroundColor: color}" class="btn">Add Task</button>
</template>
<script>
export default {
name: 'AppButton',
props: {
text: String,
color: String
},
methods: {
onClick () {
console.log('Click')
}
}
}
</script>
<style scoped></style>