<script>
export default {
  data: () => ({
    joke: '',
  }),
  async mounted() {
    this.joke = await fetch('/api/joke').then((res) => res.json())
  },
}
</script>

<template src="./JokeBlock.vue.html"></template>

<style scoped src="./JokeBlock.vue.css"></style>