Creating curriculum vitae with React. Output pdf file.
https://wheatandcat.github.io/react-curriculum-vitae/example/example.pdf
npm i
npm run build
terminal A
npm start
terminal B
npm run watch:pdf
- access: => http://localhost:3000/
vi ./src/secret.json
- secret.json
{
"name": "xxxx xxxx",
"companyNames": [
"株式会社 xxxxx",
"株式会社 xxxxx",
"株式会社 xxxxx",
"株式会社 xxxxx",
"株式会社 xxxxx"
]
}
ENV=production npm run pdf
open ./build/build.pdf