1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

tutorial: update image links

This commit is contained in:
Alexander Medvednikov 2019-12-14 19:26:22 +03:00 committed by GitHub
parent 45695543ba
commit be2b5698c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,7 @@ Running a Vweb app on http://localhost:8080 ...
Vweb helpfully provided a link, open http://localhost:8080/ in your browser: Vweb helpfully provided a link, open http://localhost:8080/ in your browser:
<img width=662 src="https://github.com/vlang/v/blob/master/tutorials/hello.png?raw=true)"> <img width=662 src="https://github.com/vlang/v/blob/master/tutorials/img/hello.png?raw=true">
The `App` struct is an entry point of our web application. If you have experience The `App` struct is an entry point of our web application. If you have experience
with an MVC web framework, you can think of it as a controller. (Vweb is with an MVC web framework, you can think of it as a controller. (Vweb is
@ -104,7 +104,7 @@ fn (app mut App) time() {
``` ```
<img width=662 src="https://github.com/vlang/v/blob/master/tutorials/time.png?raw=true)"> <img width=662 src="https://github.com/vlang/v/blob/master/tutorials/img/time.png?raw=true">
>You have to rebuild and restart the website every time you change the code. >You have to rebuild and restart the website every time you change the code.
In the future Vweb will detect changes and recompile the website in the background In the future Vweb will detect changes and recompile the website in the background
@ -141,7 +141,7 @@ fn (app mut App) index() {
} }
``` ```
<img width=662 src="https://github.com/vlang/v/blob/master/tutorials/hello_html.png?raw=true)"> <img width=662 src="https://github.com/vlang/v/blob/master/tutorials/img/hello_html.png?raw=true">
Good, now we have an actual HTML page. Good, now we have an actual HTML page.
@ -281,7 +281,7 @@ Finally, let's update our view:
v run . v run .
``` ```
<img width=662 src="https://github.com/vlang/v/blob/master/tutorials/articles1.png?raw=true)"> <img width=662 src="https://github.com/vlang/v/blob/master/tutorials/img/articles1.png?raw=true">
That was very simple, wasn't it? That was very simple, wasn't it?