Table of Contents
In the directory src/resumes
you will find all existing templates.
-
Create a copy of
src/resumes/template.vue
. -
Rename file and update template name:
let name = 'TEMPLATE-NAME';
- Import the newly added template in
src/resumes/resumes.js
.
Your new resume will be now reachable at localhost:8080/#/resume/TEMPLATE-NAME.
-
Export resumes as PDF with
npm run export
. Verify export of new template. -
Generate previews by converting PDF-files to PNG-files with
npm run preview
. -
Add preview to
/src/pages/home.vue
:
<div class="preview">
<router-link v-bind:to="'/resume/TEMPLATE-NAME'">
<div class="preview-wrapper">
<img src="../assets/preview/TEMPLATE-NAME.png" />
<span>left-right</span>
</div>
</router-link>
</div>
This project contains the Material Design and Font Awesome icon sets.
These fonts are included:
-
Open Sans, Open Sans Condensed
-
Raleway
-
Roboto
-
Source Sans Pro
All fonts are installed via npm. To add a new font, search for the associated npm-module. Add the module to the package.json and install it. Import the css file in src/App.vue
.
Resumes are being exported with Puppeteer.
Electroshot uses Electron to generate PDF-files. Since Chrome does not export box-shadows properly, every resume uses chrome-shadow-fixer.