2026-10-17 19:26:55 +08:00

16 lines
346 B
Vue

<template>
<span class="text-[24px]">{{hello_world_text}}</span>
</template>
<script lang="ts" setup>
import { ref } from 'vue'
import { getHelloWorld } from '@/addon/relay/api/hello_world'
const hello_world_text = ref('');
getHelloWorld().then(res => {
hello_world_text.value = res.data;
})
</script>
<style lang="scss" scoped></style>