parallax/jsPDF

Modernize Source Code Examples

Open

#2,930 建立於 2020年9月24日

在 GitHub 查看
 (13 留言) (3 反應) (0 負責人)JavaScript (28,280 star) (4,596 fork)batch import
difficulty:beginnerhacktoberfesthelp wantedpersistent

描述

JsPDF has a lot of code examples that haven't been looked at for quite some time and some of them are outdated.

Have a look at the examples and modernize them:

  • Use recent ES6 code
  • Add one or two TypeScript examples
  • Use jsPDF@2.x.x API
  • delete unused files
  • delete the examples/css folder and load required CSS libraries from a CDN
  • delete jquery (examples/js/jquery) and replace it with modern browser APIs
  • reduce code duplication in html files (styles)

Bonus: Add small examples for the three major UI frameworks: VueJs, Angular, and React. Setup the initial applications with @vue/cli, create-react-app, and @angular/cli then add jsPDF.

貢獻者指南

Modernize Source Code Examples · parallax/jsPDF#2930 | Good First Issue