1
0
mirror of https://github.com/actix/examples synced 2024-11-24 06:43:00 +01:00
examples/templating/minijinja/README.md

14 lines
318 B
Markdown
Raw Normal View History

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