1.
<template>
<img src="@/assets/logo.png" />
</template>
2.
<script lang="ts" setup>
import logo from '@/assets/logo.png'
</script>
<template>
<img :src="logo" />
</template>
3.
<script lang="ts" setup>
const logo = new URL('@/assets/logo.png', import.meta.url).href;
</script>
<template>
<img :src="logo" />
</template>