1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00
examples/templating/minijinja/README.md

14 lines
309 B
Markdown
Raw Normal View History

2022-10-16 22:20:01 +02:00
# MiniJinja
Minimal example of using the template engine [MiniJinja](https://github.com/Keats/tera) that displays a form.
## 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