|
|
@ -8,7 +8,9 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script lang="ts">
|
|
|
|
|
|
|
|
import { defineComponent } from 'vue'
|
|
|
|
|
|
|
|
|
|
|
|
const msgs = [
|
|
|
|
const msgs = [
|
|
|
|
`There's nothing here.`,
|
|
|
|
`There's nothing here.`,
|
|
|
|
`How did we get here?`,
|
|
|
|
`How did we get here?`,
|
|
|
@ -16,11 +18,11 @@ const msgs = [
|
|
|
|
`Looks like we've got some broken links.`
|
|
|
|
`Looks like we've got some broken links.`
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default defineComponent({
|
|
|
|
setup: () => ({
|
|
|
|
setup: () => ({
|
|
|
|
getMsg() {
|
|
|
|
getMsg() {
|
|
|
|
return msgs[Math.floor(Math.random() * msgs.length)]
|
|
|
|
return msgs[Math.floor(Math.random() * msgs.length)]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|