index.html And import this :- <script src=”https://printjs-4de6.kxcdn.com/print.min.js”> Post navigation Role of if condition in vue.js What are Vue.js events