Components

In Single File Components (SFC), script tags must specify the ts language:

<script lang="ts">
  // use TypeScript here
</script>

Template

<template>
  <div>
    Name: {{ fullName }}
    Message: {{ message }}
  </div>
</template>

Script