Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

Using Typescript with Vue

<script setup lang="ts">
defineProps<{
  msg: string
}>()
</script>

/*all scripts are now set with <script setup lang="ts"></script>*/
 
PREVIOUS NEXT
Tagged: #Using #Typescript #Vue
ADD COMMENT
Topic
Name
4+7 =