From a0b576e14da7c4df83135a2d52c24a0659e9bff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Wed, 1 Nov 2023 23:58:09 +0000 Subject: [PATCH] added plugins/store.ts using "pinia" to define input mode --- ui/package.json | 1 + ui/src/App.vue | 5 +++- ui/src/components/Calendar.vue | 33 ++++++++---------------- ui/src/components/TouchButton.vue | 26 +++++++++++++++++++ ui/src/main.ts | 2 ++ ui/src/plugins/store.ts | 42 +++++++++++++++++++++++++++++++ ui/yarn.lock | 18 +++++++++++++ 7 files changed, 103 insertions(+), 24 deletions(-) create mode 100644 ui/src/components/TouchButton.vue create mode 100644 ui/src/plugins/store.ts diff --git a/ui/package.json b/ui/package.json index 7c98c05..55d0d8c 100644 --- a/ui/package.json +++ b/ui/package.json @@ -34,6 +34,7 @@ "eslint": "^8.49.0", "eslint-plugin-vue": "^9.17.0", "luxon": "^3.4.3", + "pinia": "^2.1.7", "sass": "^1.67.0", "sass-loader": "^13.3.2", "typescript": "~5.2.2", diff --git a/ui/src/App.vue b/ui/src/App.vue index 9e16722..8f4d914 100644 --- a/ui/src/App.vue +++ b/ui/src/App.vue @@ -1,5 +1,5 @@