generated from Seekra/repository-template
refactor(search)!: rename Searchbar to SearchBar
Vue.js components should have multi-word names.
This commit is contained in:
@@ -15,7 +15,7 @@ limitations under the License.
|
||||
-->
|
||||
|
||||
<script setup>
|
||||
import Searchbar from '@/features/search/components/Searchbar.vue';
|
||||
import SearchBar from '@/features/search/components/SearchBar.vue';
|
||||
import { watch } from 'vue';
|
||||
import { useRoute } from 'vue-router';
|
||||
|
||||
@@ -34,7 +34,7 @@ watch(() => route.query.q, q => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Searchbar
|
||||
<SearchBar
|
||||
v-if="route.name === 'searchResults'"
|
||||
v-model="searchQueryModel"
|
||||
auto-submit
|
||||
|
||||
Reference in New Issue
Block a user