c91a487b98
- add local open sans - reactive solr search - display flex for same height of columns - add .babelrec - add reactivesearch-vue components
25 lines
455 B
JavaScript
25 lines
455 B
JavaScript
import { Component, Vue, Prop, Provide } from 'vue-property-decorator';
|
|
import VsInput from './components/vs-input.vue';
|
|
import rdrApi from './search-results/search-api';
|
|
|
|
@Component({
|
|
components: {
|
|
VsInput
|
|
}
|
|
})
|
|
export default class App extends Vue {
|
|
|
|
results = [];
|
|
bar = 'bar';
|
|
|
|
async onSearch(term) {
|
|
console.log(term);
|
|
this.results = await rdrApi.search(term);
|
|
}
|
|
|
|
|
|
mounted() {
|
|
console.log('Component mounted.')
|
|
}
|
|
|
|
} |