๐Ÿ“š Reference


๐Ÿ”– Index


Props


  1. script setup์—์„œ ์‚ฌ์šฉ
<script setup>
const props = defineProps<{title: string}>();
</script>

Emit


  1. script setup์—์„œ ์‚ฌ์šฉ
<script setup>
const emit = defineEmits(["toggle-drawer"]);
const toggleDrawer = () => {
  emit("toggle-drawer");
};
</script>