1
0
mirror of https://github.com/actix/examples synced 2025-01-22 22:05:57 +01:00

14 lines
318 B
Markdown
Raw Normal View History

2022-10-16 21:20:01 +01:00
# MiniJinja
2022-10-17 14:34:36 +01:00
Minimal example of using the template engine [MiniJinja](https://github.com/mitsuhiko/minijinja) that displays a form.
2022-10-16 21:20:01 +01:00
## Usage
```sh
cd templating/minijinja
2022-10-16 21:49:01 +01:00
TEMPLATE_AUTORELOAD=true cargo run
2022-10-16 21:20:01 +01:00
```
- <http://localhost:8080>
- <http://localhost:8080/non-existing-page> - 404 page rendered using template