title: How to print a specific element in Vue 3?
body: <p>I'm working on a project where I want the functionallity to print a specific element of my page. There is a mixin/plugin called VueHtmlToPaper that does exactly what I want but I have trouble importing it into my Vue 3 CLI project since it was created for VueJS2 and the global API is different. Any help is appreciated.</p>
  <p><strong>main.js</strong></p>
  <pre><code>import { createApp } from 'vue'
  
  import App from './App.vue'
  
   createApp(App).mount('#app')
  </code></pre>
  <p>Project structure :</p>
  <p><a href="https://i.stack.imgur.com/tguB7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tguB7.png" alt="enter image description here" /></a></p>