async search () {
  const response = await axios.get(`${this.baseUrl}/search`, { params: { term: this.searchTerm, offset: this.searchOffset } })
  this.numHits = response.data.hits.total
  return response.data.hits.hits
}
/** Call API to search for inputted term */
Call API to search for inputted term
Call API to search for inputted term
async search () {
  const response = await axios.get(`${this.baseUrl}/search`, { params: { term: this.searchTerm, offset: this.searchOffset } })
  this.numHits = response.data.hits.total
  return response.data.hits.hits
}
async search ( ) { const response = await axios . get ( ` ${ this . baseUrl } ` , { params : { term : this . searchTerm , offset : this . searchOffset } } ) this . numHits = response . data . hits . total return response . data . hits . hits }
Call API to search for inputted term
Call API to search for inputted term