Skip to content

Commit 9716378

Browse files
committed
added emojis
1 parent 8972a12 commit 9716378

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/content/create-booking-forms.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,11 @@ export default {
6666

6767
```
6868

69-
Here we are simply adding the date of the trip, number of people joining and the email address of the customer.
69+
🪀 Here we are simply adding the date of the trip, number of people joining and the email address of the customer.
70+
71+
🪀 We also have props passed into the component for users personal information.
72+
73+
🪀 A watcher allows us run functions based on changes to certain data. With our watcher we are emiting an event so that the root component can store it for us.
7074

7175
Next lets add the form to add many customers, create `Customers.vue` file with the following:
7276

@@ -182,7 +186,9 @@ export default {
182186

183187
```
184188

185-
Here we are making an array to allow the user to add multplie customers.
189+
🪀 Here we are making an array to allow the user to add multplie customers with our `addCustomer()` method. We also have a `removeCustomer()` method in case the user wants to remove that user from the array.
190+
191+
🪀 The `name()` watcher emits the customer data to the root component.
186192

187193
Next we will add the third form in third tab to execute the mutation, create a file called `CheckoutTab.vue`:
188194

0 commit comments

Comments
 (0)