BrodyZak / Schmix

A webapp that tells you what drinks you can make with just the ingredients you have on hand.
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Refactoring App.vue #9

Closed BrodyZak closed 2 years ago

BrodyZak commented 2 years ago

Took a lot of the logic out of App.vue, now the HTML at the top is really clean which I'm very happy with. App.vue still handles API calls at the moment but I think that will be okay for now. Two new components. First is IngredientList which handles the huge checkbox by receiving the array of all ingredients and then emitting the ones the user chooses back to App.vue. Second is DrinkList, simply holds all the cards for the drinks and runs the horizontal list library. I also added checks on the

  • items on the drinkcards.