lang-tsx.vue 187 B

12345678
  1. <script lang="tsx">
  2. import {VNode} from "vue"
  3. export default {
  4. computed: { foo( ):string { return "foo" }, },
  5. render(h):VNode { return <div>{ this.foo }</div> },
  6. }
  7. </script>