title: vue 3 script setup onBeforeMount is not defined
body: <p>Hello today i move to vue 3 with script setup.</p>
  <p>I try use onBeforeMount for load external data (async await).</p>
  <p>but receive error:
  &quot;onBeforeMount is not defined&quot;</p>
  <p>I going to documentation and saw that onBeforeMount should work! what is problem ?
  <a href="https://i.stack.imgur.com/AEbSn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AEbSn.png" alt="enter image description here" /></a></p>
  <pre><code>&lt;script setup&gt;
  import { ref } from '@vue/reactivity';
  import axios from 'axios';
  
  var data = ref(null);
  
  onBeforeMount(async () =&gt; {
      data.value = await axios.get(&quot;url&quot;);
  })
  &lt;/script&gt;
  </code></pre>