https://github.com/webviewjs/examples
Webview examples in JavaScript
https://github.com/webviewjs/examples
Last synced: over 1 year ago
JSON representation
Webview examples in JavaScript
- Host: GitHub
- URL: https://github.com/webviewjs/examples
- Owner: webviewjs
- License: mit
- Created: 2024-10-03T07:43:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-09T15:38:14.000Z (over 1 year ago)
- Last Synced: 2025-01-10T00:46:58.087Z (over 1 year ago)
- Language: TypeScript
- Size: 507 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Webview Examples
This repository contains examples of how to use the `@webviewjs/webview` crate to create a simple webview application in JavaScript.
## Preview

## Examples
See the [src](./src) directory for examples.
## Limitations
Node, Deno and Bun can flawlessly run the code. However, upon testing the standalone executables of each runtime, `Deno` seems to throw the following error:
```js
error: Uncaught (in promise) TypeError: LoadLibraryExW failed: The specified module could not be found. (os error 126)
at Object.Module._extensions..node (node:module:807:20)
at Module.load (node:module:662:32)
at Function.Module._load (node:module:534:12)
at Module.require (node:module:681:19)
at require (node:module:818:16)
at Object. (file:///~/deno-compile-DenoApp.exe/webview-examples/node_modules/@webviewjs/webview/index.js:72:29)
at Object. (file:///~/deno-compile-DenoApp.exe/webview-examples/node_modules/@webviewjs/webview/index.js:325:4)
at Module._compile (node:module:745:34)
at Object.Module._extensions..js (node:module:762:10)
at Module.load (node:module:662:32)
```
See [this issue](https://github.com/denoland/deno/issues/23266) tracker of deno.