I am trying to build a resume builder using reactjs but the problem that I am facing is that I want the user to get the pdf version of their resume on clicking the download button. But don’t know how to achieve that. I had tried jsPDF and it is converting div to pdf but not preserving CSS. I had also tried jsPDF with html2canvas but again it is converting div to pdf with preserved CSS but that pdf is kind of image and the text in not selectable and links are not clickable which is a bad characteristic for a resume. Please help me with this.
Any resource will be helpful.
Thanks