Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jussiniinikoski committed May 20, 2020
1 parent 356da8f commit 0061b2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,17 @@ Idea here is to push all the work involved in creating a PDF to the browser side

## How to generate an example PDF

### Option 1 (with Rust)
* First install [the Rust compiler](https://www.rust-lang.org)
* Clone this repo:```git clone https://github.com/jussiniinikoski/wasm-pdf.git```
* Change to directory: ```cd wasm-pdf```
* Install JavaScript libraries: ```npm install```
* Launch the local development server: ```npm run serve```
* Open your browser and visit the url provided by the server, usually ```http://localhost:8080```

### Option 2 (with JavaScript only / npm package)
* Go to [starter template repo](https://github.com/jussiniinikoski/wasm-pdf-app/)

## Special Thanks

* [rustwasm/wasm-bindgen](https://github.com/rustwasm/wasm-bindgen)
Expand Down

0 comments on commit 0061b2d

Please sign in to comment.