From 225d7e3c09a3dc3541c54dbc11a2c856d635f1a1 Mon Sep 17 00:00:00 2001 From: pskfyi Date: Thu, 6 Jan 2022 14:28:23 -0800 Subject: [PATCH] "incremental.js" vuex store for shared state. See InfinityTester component for examples on how to modify the store; arbitarily many currencies can be controlled. --- components/InfinityTester.vue | 76 +++++++++++++++++++++-------------- components/TabNav.vue | 13 +++++- package.json | 1 + store/incremental.js | 24 +++++++++++ yarn.lock | 12 ++++++ 5 files changed, 94 insertions(+), 32 deletions(-) create mode 100644 store/incremental.js diff --git a/components/InfinityTester.vue b/components/InfinityTester.vue index 5451d64..856b766 100644 --- a/components/InfinityTester.vue +++ b/components/InfinityTester.vue @@ -1,50 +1,64 @@ - + diff --git a/components/TabNav.vue b/components/TabNav.vue index 477ee2a..148c288 100644 --- a/components/TabNav.vue +++ b/components/TabNav.vue @@ -1,5 +1,7 @@