gleam-tauri-experiment/README.md

34 lines
726 B
Markdown
Raw Normal View History

2024-02-18 23:49:49 +00:00
# gleam-tauri-experiment
2024-02-18 01:48:10 +00:00
2024-02-18 23:49:49 +00:00
This is [Tauri] application that uses [Gleam] and [Lustre] on the front-end via
[Vite].
2024-02-18 01:48:10 +00:00
2024-02-18 23:52:55 +00:00
<img src="screenshot.png" alt="Screenshot of the application showing a name field, minus button, plus button, Greet button and the current time" width="650">
2024-02-18 23:49:49 +00:00
## Building
2024-02-18 01:48:10 +00:00
2024-02-18 23:49:49 +00:00
### Prerequisites
2024-02-18 01:48:10 +00:00
2024-02-18 23:49:49 +00:00
You will need the following installed to build the application:
2024-02-18 01:48:10 +00:00
2024-02-18 23:49:49 +00:00
- Rust
- Gleam
- node.js & npm
2024-02-18 01:48:10 +00:00
2024-02-18 23:49:49 +00:00
Run `npm i` to install node packages.
### Build
Build the project with:
cargo tauri dev
This will compile all the code and start a development instance that will live
reload when changes are made.
[Tauri]: https://tauri.app/
[Gleam]: https://gleam.run/
[Lustre]: https://lustre.build/
[Vite]: https://vitejs.dev/
2024-02-18 01:48:10 +00:00