mirror of
https://github.com/actix/examples
synced 2024-11-27 16:02:57 +01:00
89d2e4e3f7
* chore: fix typo for `run-in-thread` * chore: update some deps for examples |
||
---|---|---|
.. | ||
src | ||
templates | ||
Cargo.toml | ||
README.md |
template_tinytemplate
See the documentation for the minimalist template engine tiny_template.
Usage
Server
cd examples/template_tinytemplate
cargo run # (or ``cargo watch -x run``)
# Started http server: 127.0.0.1:8080
Web Client
- http://localhost:8080
- http://localhost:8080/non-existing-page - 404 page rendered using template