1
0
mirror of https://github.com/actix/examples synced 2024-11-24 06:43:00 +01:00
examples/template_engines/tera/README.md
Altug Sahin 8186a8cfea
fix broken links (#441)
Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
Co-authored-by: Altug Sahin <altugsahin@gmail.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-10-06 22:28:53 +01:00

19 lines
437 B
Markdown

# template_tera
Minimal example of using the template [tera](https://github.com/Keats/tera) that displays a form.
## Usage
### server
```bash
cd template_engines/tera
cargo run (or ``cargo watch -x run``)
# Started http server: 127.0.0.1:8080
```
### web client
- [http://localhost:8080](http://localhost:8080)
- [http://localhost:8080/non-existing-page](http://localhost:8080/non-existing-page) - 404 page rendered using template