title: How to emit event to default layout in nuxt composition api?
body: <p>I want to emit a event from a index component to default layout.</p>
  <p>I know if I want to emit event to default layout, I can use $nuxt.$emit, but my project is using nuxt composition api.
  In this situation, is it still can emit event to default layout?</p>
  <p>in child component, I will use this function.</p>
  <pre><code>const updateList = () =&gt; {
    emit('update');
  }
  </code></pre>
  <p>but layout can't get this update event.</p>
  <p>I want to use <code>$nuxt.$emit</code> in composition api component.</p>
  <p>How to use <code>$nuxt.$emit</code> in composition api component?</p>