A pdf generator tool using Tailwindcss, Next.js, and Puppeteer to design resume layouts on standard A4 page.
<Page/>
component and place it inside the <PageBreakSpacing/>
tags in the main region of the index home page.<PageBreakSpacing/>
wrapper.data
folder as javscript objects.id='layout'
will have a background color applied when the background layouts toggle is active.dev
command to begin designing a new page.Clone the repository from GitHub.
git clone https://github.com/SpillaneMakes/tailwindcss-resume-pdf-generator.git
Make sure you have a Node package manager installed (e.g. NPM or Yarn).
npm --version
# or
yarn --version
Navigate to the project directory and start the Next.js project in development mode. ```Bash cd /Downloads/tailwindcss-resume-pdf-generator
npm run dev
yarn dev
4. Open a browser to [localhost:3000](localhost:3000).
<p align="center">
<img style="width: 60%; min-width: 300px;" src="public/home-page.png">
</p>
5. Replace the demo page with a new page ( or pages ) in `src/pages/index.tsx`
```tsx
...
{/* Resume PDF Workspace */}
<main className='flex flex-col items-center'>
<PageBreakSpacing>
<ExampleResumeLayout />
{/* Place new pages here */}
</PageBreakSpacing>
</main>
...