Skip to content

Commit

Permalink
fix: add authors field
Browse files Browse the repository at this point in the history
  • Loading branch information
mohdashraf010897 committed Dec 28, 2023
1 parent f0db4a5 commit b812abe
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions packages/vue/examples/with-tailwind-css/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<template>
<div
id="app"
class="p-3 bg-gradient-to-r from-green-400 to-blue-500">
<div
id="app"
class="p-3 bg-gradient-to-r from-green-400 to-blue-500 text-center">
<reactive-base
app="good-books-ds"
url="https://a03a1cb71321:75b6603d-9456-4a5a-af6b-a487b309eb61@appbase-demo-ansible-abxiydt-arc.searchbase.io"
>
<search-box
:data-field="['original_title', 'original_title.search']"
:data-field="['original_title', 'original_title.search', 'authors', 'authors.search']"
:urlparams="true"
:size="3"
:enable-popular-suggestions="true"
Expand All @@ -27,13 +27,13 @@
class-name="result-list-container"
>
<template #renderItem="{ item }">
<div
:id="item._id"
:key="item._id"
<div
:id="item._id"
:key="item._id"
class="flex book-content">
<img
:src="item.image"
alt="Book Cover"
<img
:src="item.image"
alt="Book Cover"
class="book-image" >
<div class="flex column justify-center ml20">
<div class="book-header">{{ item.original_title }}</div>
Expand All @@ -52,13 +52,13 @@
class="fas fa-star"
/>
</span>
<span
<span
class="avg-rating"
>({{ item.average_rating }} avg)</span
>
</div>
</div>
<span
<span
class="pub-year"
>Pub {{ item.original_publication_year }}</span
>
Expand Down

0 comments on commit b812abe

Please sign in to comment.