开发相关问题
一、开发语言
QuikcTVUI
使用Vue3
+ TypeScript
开发实现。
建议项目使用Vue3
+TypeScript
作为开发语言。
二、支持 setup 语法糖
生命周期使用中,一定要defineExpose
暴露生命周期方法。
<template>
<s-title-view text="setup语法糖" />
</template>
<script setup lang="ts">
function onESCreate() {
//
}
defineExpose({
onESCreate,
})
</script>