From 8bbc247703d68d919f639cc563e9b9ca1069dcc7 Mon Sep 17 00:00:00 2001 From: samaradel Date: Mon, 16 Nov 2020 06:12:56 +0200 Subject: [PATCH] connect search box with result page --- src/components/PostListItem.vue | 3 +++ src/layouts/partials/Navbar.vue | 39 ++++++++++++++++++++++----------- src/pages/Search.vue | 34 ++++++++++++++++------------ 3 files changed, 49 insertions(+), 27 deletions(-) diff --git a/src/components/PostListItem.vue b/src/components/PostListItem.vue index e7536fc74..d157693cc 100644 --- a/src/components/PostListItem.vue +++ b/src/components/PostListItem.vue @@ -70,6 +70,9 @@ export default { default: true, }, }, + mounted() { + // console.log(this.record) + }, }; diff --git a/src/layouts/partials/Navbar.vue b/src/layouts/partials/Navbar.vue index 142676a0d..2f3b10d08 100644 --- a/src/layouts/partials/Navbar.vue +++ b/src/layouts/partials/Navbar.vue @@ -1,6 +1,12 @@