mirror of
https://github.com/actix/examples
synced 2025-06-28 09:50:36 +02:00
fix broken links (#441)
Co-authored-by: Igor Aleksanov <popzxc@yandex.ru> Co-authored-by: Altug Sahin <altugsahin@gmail.com> Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
@ -2,6 +2,11 @@
|
||||
|
||||
This is an example of how to use Actix Web with the [Handlebars templating language](https://crates.io/crates/handlebars), which is currently the most popular crate that achieves this. After starting the server with `cargo run`, you may visit the following pages:
|
||||
|
||||
```bash
|
||||
cd template_engines/handlebars
|
||||
cargo run
|
||||
```
|
||||
|
||||
- http://localhost:8080
|
||||
- http://localhost:8080/Emma/documents
|
||||
- http://localhost:8080/Bob/passwords
|
||||
|
@ -7,7 +7,7 @@ Minimal example of using the template [tera](https://github.com/Keats/tera) that
|
||||
### server
|
||||
|
||||
```bash
|
||||
cd examples/template_tera
|
||||
cd template_engines/tera
|
||||
cargo run (or ``cargo watch -x run``)
|
||||
# Started http server: 127.0.0.1:8080
|
||||
```
|
||||
|
@ -7,7 +7,7 @@ See the documentation for the minimalist template engine [tiny_template](https:/
|
||||
### Server
|
||||
|
||||
```bash
|
||||
cd examples/template_tinytemplate
|
||||
cd template_engines/tinytemplate
|
||||
cargo run # (or ``cargo watch -x run``)
|
||||
# Started http server: 127.0.0.1:8080
|
||||
```
|
||||
|
@ -3,8 +3,8 @@
|
||||
Minimal example of using template [yarte](https://github.com/botika/yarte) that displays a form.
|
||||
|
||||
```bash
|
||||
cd template_engines/yarte
|
||||
cargo test
|
||||
|
||||
cargo run
|
||||
```
|
||||
> open `localhost:8080`
|
||||
|
Reference in New Issue
Block a user