Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jecyu/pdf-demos
pdf 打印
https://github.com/jecyu/pdf-demos
Last synced: 13 days ago
JSON representation
pdf 打印
- Host: GitHub
- URL: https://github.com/jecyu/pdf-demos
- Owner: jecyu
- License: mit
- Created: 2023-07-15T14:17:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-18T22:11:16.000Z (over 1 year ago)
- Last Synced: 2023-07-18T23:24:20.911Z (over 1 year ago)
- Language: JavaScript
- Size: 1.59 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jsPDF + html2canvas 高清打印、A4分页截断 完美解决方案
详解链接:
掘金:
- https://juejin.cn/post/7256306281538748477
- https://juejin.cn/post/7138370283739545613解决以下问题
1. 导出PDF模糊问题
2. A4分页截断内容的问题
3. 内容上下左右边距问题
## Project setup
```
yarn install
```
or```
npm install
```
### Compiles and hot-reloads for development
```
yarn serve
```
or```
npm run serve
```
### Compiles and minifies for production
```
yarn build
```### Lints and fixes files
```
yarn lint
```### Customize configuration