diff --git a/TODO.md b/TODO.md index 44d6dba..35355f0 100644 --- a/TODO.md +++ b/TODO.md @@ -13,11 +13,11 @@ ARCHITECTURE * [x] composition API * [x] windi-css * [x] npm version 7 +* [x] store solution * [ ] fake rest api * [ ] i18n * [ ] axios -* [ ] store solution - * [ ] vue3 handcraft solution OR + FEATURES diff --git a/src/components/Basket.vue b/src/components/Basket.vue index 592a152..a9d2980 100644 --- a/src/components/Basket.vue +++ b/src/components/Basket.vue @@ -1,18 +1,35 @@ {{ msg }} + + + order product n°{{ products }} + + + inc price {{ price }}€ + + + dec price {{ price }}€ + + + + TOTAL HT = {{ global.state.count }}€ + TOTAL TTC = {{ global.getters.ttc.value }}€ + - inc product {{ count1 }} + RESET - - inc {{ count2 }} - - state = {{ state.count }}
+ TOTAL HT = {{ global.state.count }}€ + TOTAL TTC = {{ global.getters.ttc.value }}€ +