Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion examples/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,18 @@ attached styles. All sample data is fictional. MIT licensed.

## Run

Use Node.js 22.12 or newer for development and builds:
Use Node.js 22.13+ on the 22.x line, or Node.js 23.5+ (including 24.x), for development and builds:

```sh
npm ci
npm run dev
```

The lockfile includes Vite's WebAssembly bundler and a compatible runtime so
the same project also starts in StackBlitz. Keep `package-lock.json` and the
scoped runtime override when copying this starter. These are development
dependencies; the PDF engine and document inputs still run locally.

Open the localhost URL printed by Vite. The browser loads the engine and fonts
from that server and renders in a Web Worker. This app does not upload document
inputs to a PDF service. Changes last until reload or closing the editor.
Expand Down
87 changes: 86 additions & 1 deletion examples/react/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion examples/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"type": "module",
"engines": {
"node": ">=22.12.0"
"node": "^22.13.0 || >=23.5.0"
},
"scripts": {
"assets": "fullbleed-browser-assets public/fullbleed",
Expand All @@ -19,10 +19,16 @@
"react-dom": "19.3.0"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "1.2.12",
"@types/react": "19.3.0",
"@types/react-dom": "19.3.0",
"@vitejs/plugin-react": "6.1.2",
"typescript": "7.0.2",
"vite": "8.3.2"
},
"overrides": {
"@rolldown/binding-wasm32-wasi": {
"@napi-rs/wasm-runtime": "1.2.5"
}
}
}
7 changes: 6 additions & 1 deletion examples/vue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,18 @@ three-page report with fictional sample data. MIT licensed.

## Run

Use Node.js 22.12 or newer for development and builds:
Use Node.js 22.13+ on the 22.x line, or Node.js 23.5+ (including 24.x), for development and builds:

```sh
npm ci
npm run dev
```

The lockfile includes Vite's WebAssembly bundler and a compatible runtime so
the same project also starts in StackBlitz. Keep `package-lock.json` and the
scoped runtime override when copying this starter. These are development
dependencies; the PDF engine and document inputs still run locally.

Open the localhost URL printed by Vite. Change the customer or template and
wait for **Ready**, then choose **Download PDF**. Turn off **Update automatically**
to generate only on demand. Edits last until reload or closing the editor.
Expand Down
87 changes: 86 additions & 1 deletion examples/vue/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion examples/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"license": "MIT",
"engines": {
"node": ">=22.12.0"
"node": "^22.13.0 || >=23.5.0"
},
"scripts": {
"assets": "fullbleed-browser-assets public/fullbleed",
Expand All @@ -19,9 +19,15 @@
"vue": "3.5.43"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "1.2.12",
"@vitejs/plugin-vue": "6.0.9",
"typescript": "6.0.3",
"vite": "8.3.2",
"vue-tsc": "3.3.12"
},
"overrides": {
"@rolldown/binding-wasm32-wasi": {
"@napi-rs/wasm-runtime": "1.2.5"
}
}
}
Loading
Loading