From 2cb1387c20c3c81fe04f30563a0473438ba19644 Mon Sep 17 00:00:00 2001 From: Phuc H Date: Wed, 20 Mar 2024 09:10:59 +0700 Subject: [PATCH] feat: support swipe to complete on mobile --- package.json | 1 + src/NextHint.vue | 47 ++++++++++++++++++++++++++++++++++++++++++++--- yarn.lock | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 77 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index f6647f9..d9617a6 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ }, "dependencies": { "@headlessui/vue": "^1.7.13", + "@vueuse/core": "^10.9.0", "autoprefixer": "^10.4.14", "postcss": "^8.4.23", "tailwindcss": "^3.3.2", diff --git a/src/NextHint.vue b/src/NextHint.vue index 0c1d4aa..0364972 100644 --- a/src/NextHint.vue +++ b/src/NextHint.vue @@ -1,5 +1,6 @@