tethys/resources/assets/js/search/app-class.js
Arno Kaimbacher c91a487b98 - remove glyphicons- fonts
- add local open sans
- reactive solr search
- display flex for same height of columns
- add .babelrec
- add reactivesearch-vue components
2020-06-10 21:09:24 +02:00

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.')
}
}