What's Changed
The goal of this release is to add quality of life features for developers.
For applications that build their user interface using a node web framework, serve_dev
and serve_satic
have been integrated.
serve_dev
- for usage during developmentserve_dev('ui_path') // Runs `npm run dev` in the `ui_path` and connects the webview window to it. serve_dev('ui_path', pkg_manager: .pnpm, script: 'start') // Runs `pnpm start` in the `ui_path` and "
serve_static
- for usage in the compiled applicationserve_static('ui_path') // Uses vweb to serve a UI that has been built into a static site and "
Adds a minimal example using Astro: https://github.com/ttytm/webview/tree/main/examples/astro-project
Full Changelog: v0.6.0...v0.7.0