Skip to content

MatthewHerbst/electron-react-to-print-demo

 
 

Repository files navigation

Electron App demoing react-to-print library use

A basic Electron React app that uses react-to-print library to print individual components.

Implementation of print method for print-to-react is the crux of the demo. See handlePrint method in App.js. Also, See App.css for CSS print settings.

To get started:

Download and extract the project. Run following command in root dir:

  • Run npm install
Development
  • Run npm run dev to start webpack-dev-server. Electron will launch automatically.

Note: Updated all dependencies to latest versions available on 1st Jan, 2022:

About

Electron App demoing react-to-print library use

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 70.9%
  • CSS 26.2%
  • HTML 2.9%