resume-builder
resume-builder copied to clipboard
added doc download button
Changes
A new way to maintain style while exporting a resume as a Word document has been introduced with the latest version to the ResumeDocDownload component. This solves the problem of the exported Word document losing style. To ensure that the original styling is preserved during the export process, the approach entails establishing a custom CSS stylesheet specifically for the Word document.
The goal of this modification is to improve our resume-building application's export capabilities. We noticed that the user experience was being negatively impacted by the Word document export's loss of style. Our goal is to provide the exported Word document a more polished and professional representation of the resume layout and formatting by implementing a custom CSS stylesheet. The entire user experience for those utilizing our resume-building function is improved by this update.
This change's main library need is html-docx-js, which makes it easier to convert HTML information to Word document format.
Please install the above mentioned library by the following command
npm install html-docx-js
Checklist
- [ *] My code follows the style guidelines of this project
- [ *] I have performed a self-review of my own code
- [ *] I have commented my code, particularly in hard-to-understand areas
- [ *] I have made corresponding changes to the documentation
- [ *] My changes generate no new warnings