From 2b9f0639eab960a66aa616c174c0c83763ca454b Mon Sep 17 00:00:00 2001 From: pvincent Date: Tue, 2 Mar 2021 22:54:54 +0400 Subject: [PATCH] global store --- TODO.md | 4 +-- src/components/Basket.vue | 51 +++++++++++++++++++++++++-------------- src/stores/global.ts | 25 ++++++++++++++++--- 3 files changed, 56 insertions(+), 24 deletions(-) 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 @@