diff --git a/src/App.vue b/src/App.vue index a6aa3d4..f921ace 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,7 +3,7 @@
- +
@@ -14,4 +14,13 @@ import Balance from './components/Balance.vue'; import IncomeExpenses from './components/IncomeExpenses.vue'; import TransactionList from './components/TransactionList.vue'; import AddTransaction from './components/AddTransaction.vue'; + +import { ref } from 'vue'; + +const transactions = ref([ + { id: 1, text: 'Flower', amount: -19.99 }, + { id: 2, text: 'Salary', amount: 299.97 }, + { id: 3, text: 'Book', amount: -10 }, + { id: 4, text: 'Camera', amount: 150 }, +]); diff --git a/src/components/TransactionList.vue b/src/components/TransactionList.vue index 9883271..8c3afb7 100644 --- a/src/components/TransactionList.vue +++ b/src/components/TransactionList.vue @@ -1,11 +1,24 @@ + +