<script lang="ts">
  import { nextTick } from 'vue'

  nextTick(() => {
    // something DOM-related
  })
</script>