1
0
mirror of https://github.com/actix/examples synced 2024-11-24 14:53:00 +01:00
examples/templating/tinytemplate/README.md

19 lines
475 B
Markdown
Raw Normal View History

# template_tinytemplate
See the documentation for the minimalist template engine [tiny_template](https://docs.rs/tinytemplate/1.1.0/tinytemplate/).
## Usage
### Server
```bash
2022-02-18 03:13:55 +01:00
cd templating/tinytemplate
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