'Is there a way to break/return from Vue3 `<script setup>`?

Is there a way to break/return from Vue3 <script setup>?

<script setup lang="ts">
  // code is not working, for illustration purpose
  if (!process.client) return

  // do something...
  const count = ref(0)
</script>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source