|
1 | 1 |
|
2 |
| -<!-- PROJECT LOGO --> |
3 |
| -<br /> |
4 |
| -<p align="center"> |
5 |
| - <h3 align="center">Next.js PDF</h3> |
6 |
| -</p> |
| 2 | +# Next.js PDF (post) |
7 | 3 |
|
| 4 | +This project was Created to ilustrate my [post](https://dev.to/wonder2210/generating-pdf-files-using-next-js-24dm) about generating PDF files with |
| 5 | +next.js |
| 6 | +## Run Locally |
8 | 7 |
|
| 8 | +Clone the project |
9 | 9 |
|
10 |
| -<!-- TABLE OF CONTENTS --> |
11 |
| -<details open="open"> |
12 |
| - <summary><h2 style="display: inline-block">Table of Contents</h2></summary> |
13 |
| - <ol> |
14 |
| - <li> |
15 |
| - <a href="#about-the-project">About The Project</a> |
16 |
| - <ul> |
17 |
| - <li><a href="#built-with">Built With</a></li> |
18 |
| - </ul> |
19 |
| - </li> |
20 |
| - <li> |
21 |
| - <a href="#getting-started">Getting Started</a> |
22 |
| - <ul> |
23 |
| - <li><a href="#prerequisites">Prerequisites</a></li> |
24 |
| - <li><a href="#installation">Installation</a></li> |
25 |
| - </ul> |
26 |
| - </li> |
27 |
| - <li><a href="#usage">Usage</a></li> |
28 |
| - <li><a href="#roadmap">Roadmap</a></li> |
29 |
| - <li><a href="#contact">Contact</a></li> |
30 |
| - </ol> |
31 |
| -</details> |
32 |
| - |
33 |
| - |
34 |
| - |
35 |
| -<!-- ABOUT THE PROJECT --> |
36 |
| -## About The Project |
37 |
| - |
38 |
| -This a project made for my post on Dev.to(link) , here i´ll show you the approach i use to generate pdf´s with next.js |
39 |
| - |
40 |
| - |
41 |
| -### Built With |
42 |
| - |
43 |
| -* [Next.js](https://nextjs.org/) |
44 |
| -* [JsPDF](https://github.com/MrRio/jsPDF) |
45 |
| - |
46 |
| - |
47 |
| -<!-- GETTING STARTED --> |
48 |
| -## Getting Started |
49 |
| - |
50 |
| -To get a local copy up and running follow these simple steps. |
51 |
| - |
52 |
| -### Prerequisites |
| 10 | +```bash |
| 11 | +git clone https://github.com/Wonder2210/next-pdf.git |
| 12 | +``` |
53 | 13 |
|
54 |
| -This is an example of how to list things you need to use the software and how to install them. |
55 |
| -* yarn |
56 |
| -* node v10 or latest |
57 |
| - |
| 14 | +Go to the project directory |
58 | 15 |
|
59 |
| -### Installation |
| 16 | +```bash |
| 17 | + cd next-pdf |
| 18 | +``` |
60 | 19 |
|
61 |
| -1. Clone the repo |
62 |
| - ```sh |
63 |
| - git clone https://github.com/Wonder2210/next-pdf.git |
64 |
| - ``` |
65 |
| -2. Install NPM packages |
66 |
| - ```sh |
67 |
| - yarn install |
68 |
| - ``` |
| 20 | +Install dependencies |
69 | 21 |
|
70 |
| -<!-- USAGE EXAMPLES --> |
71 |
| -## Usage |
| 22 | +```bash |
| 23 | + yarn install |
| 24 | +``` |
72 | 25 |
|
73 |
| -start the project using: |
| 26 | +Start the project |
74 | 27 |
|
75 |
| -```sh |
76 |
| -yarn run dev |
| 28 | +```bash |
| 29 | + yarn dev |
77 | 30 | ```
|
78 | 31 |
|
79 |
| -<!-- CONTACT --> |
80 |
| -## Contact |
81 | 32 |
|
82 |
| -Wonder Gonzalez - [@WonDErV14](https://twitter.com/WonDErV14?s=09) |
| 33 | +## Documentation |
| 34 | +You can learn more about the project on |
| 35 | +[Generating PDF files using Next.js](https://dev.to/wonder2210/generating-pdf-files-using-next-js-24dm) |
83 | 36 |
|
0 commit comments