diff --git a/src/components/Breadcrumb.vue b/src/components/Breadcrumb.vue index c5e43c0f5..aef016557 100644 --- a/src/components/Breadcrumb.vue +++ b/src/components/Breadcrumb.vue @@ -39,12 +39,8 @@ :href="state.createURL(item.value)" :class="suit('link')" @click.prevent="state.refine(item.value)" - > - {{ item.name }} - - - {{ item.name }} - + >{{ item.name }} + {{ item.name }} diff --git a/src/components/ClearRefinements.vue b/src/components/ClearRefinements.vue index 9e48bfee5..7491a3967 100644 --- a/src/components/ClearRefinements.vue +++ b/src/components/ClearRefinements.vue @@ -14,9 +14,7 @@ :disabled="!canRefine" @click.prevent="state.refine" > - - Clear refinements - + Clear refinements diff --git a/src/components/HierarchicalMenu.vue b/src/components/HierarchicalMenu.vue index a37b7869a..b2027738e 100644 --- a/src/components/HierarchicalMenu.vue +++ b/src/components/HierarchicalMenu.vue @@ -32,9 +32,7 @@ - {{ isShowingMore ? 'Show less' : 'Show more' }} - + >{{ isShowingMore ? 'Show less' : 'Show more' }} diff --git a/src/components/Hits.vue b/src/components/Hits.vue index 57b473866..6eff5ddf0 100644 --- a/src/components/Hits.vue +++ b/src/components/Hits.vue @@ -14,9 +14,7 @@ name="item" :item="item" :index="itemIndex" - > - objectID: {{ item.objectID }}, index: {{ itemIndex }} - + >objectID: {{ item.objectID }}, index: {{ itemIndex }} diff --git a/src/components/HitsPerPage.vue b/src/components/HitsPerPage.vue index c7bebd5df..b83d013b0 100644 --- a/src/components/HitsPerPage.vue +++ b/src/components/HitsPerPage.vue @@ -18,9 +18,7 @@ :key="item.value" :class="suit('option')" :value="item.value" - > - {{ item.label }} - + >{{ item.label }} diff --git a/src/components/InfiniteHits.vue b/src/components/InfiniteHits.vue index f858b8f12..43b858893 100644 --- a/src/components/InfiniteHits.vue +++ b/src/components/InfiniteHits.vue @@ -19,9 +19,7 @@ name="item" :item="item" :index="index" - > - objectID: {{ item.objectID }}, index: {{ index }} - + >objectID: {{ item.objectID }}, index: {{ index }} @@ -35,9 +33,7 @@ :class="[suit('loadMore'), state.isLastPage && suit('loadMore', 'disabled')]" :disabled="state.isLastPage" @click="refine" - > - Show more results - + >Show more results diff --git a/src/components/Menu.vue b/src/components/Menu.vue index d53694c9b..6a5be0417 100644 --- a/src/components/Menu.vue +++ b/src/components/Menu.vue @@ -38,9 +38,7 @@ - {{ state.isShowingMore ? 'Show less' : 'Show more' }} - + >{{ state.isShowingMore ? 'Show less' : 'Show more' }} diff --git a/src/components/MenuSelect.vue b/src/components/MenuSelect.vue index 175358b66..934068d3c 100644 --- a/src/components/MenuSelect.vue +++ b/src/components/MenuSelect.vue @@ -29,9 +29,7 @@ - {{ item.label }} ({{ item.count }}) - + >{{ item.label }} ({{ item.count }}) diff --git a/src/components/NumericMenu.vue b/src/components/NumericMenu.vue index 70465b1dc..93582846f 100644 --- a/src/components/NumericMenu.vue +++ b/src/components/NumericMenu.vue @@ -24,9 +24,7 @@ :checked="item.isRefined" @change="state.refine($event.target.value)" > - - {{ item.label }} - + {{ item.label }} diff --git a/src/components/Pagination.vue b/src/components/Pagination.vue index e913ce334..f9ab76f37 100644 --- a/src/components/Pagination.vue +++ b/src/components/Pagination.vue @@ -40,9 +40,7 @@ - ‹‹ - + >‹‹ @@ -66,17 +64,13 @@ aria-label="Previous" :href="state.createURL(state.currentRefinement - 1)" @click.prevent="refine(state.currentRefinement - 1)" - > - ‹ - + >‹ @@ -101,9 +95,7 @@ :class="suit('link')" :href="state.createURL(page)" @click.prevent="refine(page)" - > - {{ page + 1 }} - + >{{ page + 1 }} @@ -133,9 +125,7 @@ - › - + >› @@ -165,9 +155,7 @@ - ›› - + >›› diff --git a/src/components/RatingMenu.vue b/src/components/RatingMenu.vue index b28c5b1b1..8daea6527 100644 --- a/src/components/RatingMenu.vue +++ b/src/components/RatingMenu.vue @@ -68,9 +68,7 @@ > & Up - - {{ item.count }} - + {{ item.count }} diff --git a/src/components/RefinementList.vue b/src/components/RefinementList.vue index 6bd51adbc..05683fa8c 100644 --- a/src/components/RefinementList.vue +++ b/src/components/RefinementList.vue @@ -87,9 +87,7 @@ - Show {{ state.isShowingMore ? 'less' : 'more' }} - + >Show {{ state.isShowingMore ? 'less' : 'more' }} diff --git a/src/components/SortBy.vue b/src/components/SortBy.vue index 51e517736..9134251db 100644 --- a/src/components/SortBy.vue +++ b/src/components/SortBy.vue @@ -19,9 +19,7 @@ :class="suit('option')" :value="item.value" :selected="item.value === state.currentRefinement" - > - {{ item.label }} - + >{{ item.label }} diff --git a/src/components/Stats.vue b/src/components/Stats.vue index 3074693c4..555d74150 100644 --- a/src/components/Stats.vue +++ b/src/components/Stats.vue @@ -7,9 +7,7 @@ v-bind="state" :results="state.instantSearchInstance.helper.lastResults" > - - {{ state.nbHits.toLocaleString() }} results found in {{ state.processingTimeMS.toLocaleString() }}ms - + {{ state.nbHits.toLocaleString() }} results found in {{ state.processingTimeMS.toLocaleString() }}ms diff --git a/src/components/ToggleRefinement.vue b/src/components/ToggleRefinement.vue index 295e3a76f..8aa29e8ba 100644 --- a/src/components/ToggleRefinement.vue +++ b/src/components/ToggleRefinement.vue @@ -18,15 +18,11 @@ :checked="state.value.isRefined" @change="state.refine(state.value)" > - - {{ state.value.name }} - + {{ state.value.name }} - {{ state.value.count.toLocaleString() }} - + >{{ state.value.count.toLocaleString() }} diff --git a/src/mixins/widget.js b/src/mixins/widget.js index 1312715dc..11ac51164 100644 --- a/src/mixins/widget.js +++ b/src/mixins/widget.js @@ -31,9 +31,7 @@ it's not the recommended way of making custom components. If you want to disable this message, pass { connector: true } to the mixin. -(TODO: update v2 link) -Read more on using connectors: https://community.algolia.com/vue-instantsearch/getting-started/custom-components.html - ` +Read more on using connectors: https://alg.li/vue-custom` ); } },