1
0
mirror of https://github.com/actix/examples synced 2024-12-01 01:24:35 +01:00
examples/templating/tera/README.md

19 lines
429 B
Markdown
Raw Normal View History

# template_tera
Minimal example of using the template [tera](https://github.com/Keats/tera) that displays a form.
## Usage
### server
2022-02-18 04:36:04 +01:00
```sh
2022-02-18 03:13:55 +01:00
cd templating/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