From df43159acfcacf93ad262ff315d34e389cdc189b Mon Sep 17 00:00:00 2001 From: busti Date: Wed, 8 Jan 2020 22:20:45 +0100 Subject: [PATCH] debounce search box --- package.json | 1 + src/components/Navbar.vue | 9 ++++++++- src/main.js | 4 ++++ yarn.lock | 5 +++++ 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e0fb99b..238550c 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "sass-loader": "^8.0.0", "utf8": "^3.0.0", "vue": "^2.6.10", + "vue-debounce": "^2.2.0", "vue-router": "^3.1.3", "vuex": "^3.1.2", "vuex-router-sync": "^5.0.0" diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue index 32a5299..1b16c05 100644 --- a/src/components/Navbar.vue +++ b/src/components/Navbar.vue @@ -31,7 +31,14 @@
- +