title: Laravel livewire DOM PDF the file save but not downloaded
body: <p>I am using DOM PDF to print the html invoice page, the method call by livewire method, The file save correctly to the public folder but I need to download it through browser instead of save it.</p>
  <p><strong>Component blade view:</strong></p>
  <pre class="lang-php prettyprint-override"><code>&lt;div class=&quot;m-3 ml-auto&quot;&gt;
      &lt;button wire:click=&quot;exportPDF()&quot; type=&quot;button&quot;
              class=&quot;border border-indigo-500 text-indigo-500 rounded-md px-4 py-2 m-2 transition duration-500 ease select-none hover:text-white hover:bg-indigo-600 focus:outline-none focus:shadow-outline&quot;&gt;
              {{ __('Export PDF') }}
      &lt;/button&gt;
  &lt;/div&gt;
  </code></pre>
  <p><strong>Livewire Component method:</strong></p>
  <pre class="lang-php prettyprint-override"><code>public function exportPDF()
  {
     $order = $this-&gt;order;
     $view = view('order')-&gt;with(compact('order'));
     $html = $view-&gt;render();
     $pdf = PDF::loadHTML($html)-&gt;save(public_path() . '/order.pdf');
     
     //return $pdf-&gt;download('download.pdf');
     //    $pdf= PDF::loadHTML($html);
     //     return $pdf-&gt;download('order.pdf');
  }
  </code></pre>