1.0.1 • Published 1 year ago
@trytocreate/vuepress-theme-resume v1.0.1
vuepress-theme-resume
A resume theme for VuePress 2.
Effect
Online Preview
https://vuepress-theme-resume.djweb.site
Images

See images for more.
The results are shown in pdfs.
Usage
Create and change into a new directory.
mkdir vuepress-resume
cd vuepress-resumeInitialize your project.
git init
pnpm initInstall VuePress and theme.
# install vuepress and vue
pnpm add -D vuepress@next vue
# install bundler
pnpm add -D @vuepress/bundler-vite@next
# install theme
pnpm add -D @trytocreate/vuepress-theme-resumeCreate docs directory and docs/.vuepress directory.
mkdir docs
mkdir docs/.vuepressCreate the VuePress config file docs/.vuepress/config.js.
import { viteBundler } from '@vuepress/bundler-vite'
import { resumeTheme } from '@trytocreate/vuepress-theme-resume'
import { defineUserConfig } from 'vuepress'
export default defineUserConfig({
bundler: viteBundler(),
theme: resumeTheme()
})See examples for more.
Save as PDF
Recommended steps for Chrome / Edge / Firefox
Right click or press Ctrl + P.
Set the Destination as Save as PDF / Save to PDF.
Set the Pages as All.
Set the Layout as Portrait.
Click on More settings.
Set the Paper size as A4.
Set the Paper per sheet as 1.
Set the Margins as None.
Set the Scale as 100.
Check the Background graphics / Print backgrounds option.