File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
packages/vue/examples/with-tailwind-css/src Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 11<template >
2- <div
3- id =" app"
4- class =" p-3 bg-gradient-to-r from-green-400 to-blue-500" >
2+ <div
3+ id =" app"
4+ class =" p-3 bg-gradient-to-r from-green-400 to-blue-500 text-center " >
55 <reactive-base
66 app =" good-books-ds"
77 url =" https://a03a1cb71321:75b6603d-9456-4a5a-af6b-a487b309eb61@appbase-demo-ansible-abxiydt-arc.searchbase.io"
88 >
99 <search-box
10- :data-field =" ['original_title', 'original_title.search']"
10+ :data-field =" ['original_title', 'original_title.search', 'authors', 'authors.search' ]"
1111 :urlparams =" true"
1212 :size =" 3"
1313 :enable-popular-suggestions =" true"
2727 class-name =" result-list-container"
2828 >
2929 <template #renderItem =" { item } " >
30- <div
31- :id =" item._id"
32- :key =" item._id"
30+ <div
31+ :id =" item._id"
32+ :key =" item._id"
3333 class =" flex book-content" >
34- <img
35- :src =" item.image"
36- alt =" Book Cover"
34+ <img
35+ :src =" item.image"
36+ alt =" Book Cover"
3737 class =" book-image" >
3838 <div class =" flex column justify-center ml20" >
3939 <div class =" book-header" >{{ item.original_title }}</div >
5252 class =" fas fa-star"
5353 />
5454 </span >
55- <span
55+ <span
5656 class =" avg-rating"
5757 >({{ item.average_rating }} avg)</span
5858 >
5959 </div >
6060 </div >
61- <span
61+ <span
6262 class =" pub-year"
6363 >Pub {{ item.original_publication_year }}</span
6464 >
You can’t perform that action at this time.
0 commit comments