VueTube/NUXT/pages/search.vue

22 lines
289 B
Vue
Raw Normal View History

2022-03-03 18:05:50 +00:00
<template>
<div>
<div v-text="information" />
</div>
</template>
<script>
export default {
data() {
return {
information: ""
}
},
mounted() {
const vm = this;
this.$youtube.search("TEST", (data) => {
vm.information = data;
})
}
}
</script>