Skip to content

Donnzh/pdf-email

Repository files navigation

This is the presentation slide about generating pdf in node server, build with react library Spectacle.

for detail code please go to : https://github.com/Donnzh/node-pdfmake-demo

Spectacle Boilerplate

Reference

The Spectacle core API is available at https://github.com/FormidableLabs/spectacle/blob/master/README.markdown.

Development

After downloading the boilerplate, your first order of business is to open terminal and run npm install

Next, run rm -R .git to remove the existing version control.

Then, to start up the local server, run npm start

Open a browser and hit http://localhost:3000, and we are ready to roll

Build & Deployment

Building the dist version of the project is as easy as running npm run build

If you want to deploy the slideshow to surge, run npm run deploy