A Gatsby Theme with JSONResume to host your Resume in HTML and PDF
The Gatsby Theme with JSONResume is a package that allows users to host their resume in HTML and PDF format using Gatsby v2. It provides an easy way to generate a resume by providing a valid JSON object with the user’s information. The theme adds a new route to the application by generating plain HTML and PDF files and placing them inside the static folder. The generated resume can be accessed after deploying the site. The package also offers configuration options to customize the resume data, theme, and route.
To install the Gatsby Theme with JSONResume, follow these steps:
Make sure you have Gatsby v2 installed in your project. If not, refer to the official Gatsby documentation to bootstrap a Gatsby project.
Run the following command to install the package:
npm install gatsby-theme-jsonresume
Inside your project, create a gatsby-config.js file if it doesn’t already exist.
Add the following configuration to the gatsby-config.js file:
module.exports = {
plugins: [
{
resolve: "gatsby-theme-jsonresume",
options: {
resumeJson: // Data for resume (required),
theme: // Theme to be used in JSONResume (optional, default: "jsonresume-theme-flat"),
name: // Name/Route for the resulting CV (optional, default: "resume")
}
}
]
}
gatsby build
The Gatsby Theme with JSONResume is a helpful package for hosting a resume in HTML and PDF format. It simplifies the process of generating a resume by using a JSON object and provides customization options for resume data, themes, and routes. The package is easy to install and use, making it a convenient solution for individuals looking to showcase their resume online.