From d3994cfaf1449a56e87d306602dae854d48966fc Mon Sep 17 00:00:00 2001 From: Tomas Husak <49864539+TomatorCZ@users.noreply.github.com> Date: Fri, 23 Jul 2021 08:46:38 +0200 Subject: [PATCH] fix backslashes --- docs/inserting-php-scripts.md | 6 +++--- docs/overview.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/inserting-php-scripts.md b/docs/inserting-php-scripts.md index ef71bb5..f5fce55 100644 --- a/docs/inserting-php-scripts.md +++ b/docs/inserting-php-scripts.md @@ -6,11 +6,11 @@ Before we will start to talk about using classes provided by `Peachpie.Blazor`, Create a standard Blazor WebAssembly application (with .NET 5) and tick ASP.NET Core hosted. -![VS dialog](.\images\creating-web-assembly.png) +![VS dialog](./images/creating-web-assembly.png) We have to add a package reference for `Peachpie.Blazor` library to `BlazorApp.Client` and `BlazorApp.Server` projects in order to be able to use helper classes providing script navigation and execution. -![Nuget](.\images\nuget.png) +![Nuget](./images/nuget.png) Now, we have to add support for PHP in the `WebAssemblyHost` of `BlazorApp.Client` project. Because of Blazor specification, we have to add reference on a type defined in the additional assembly in order to make the assembly be downloaded with the `BlazorApp.Client`. @@ -175,4 +175,4 @@ For those, whose are familiar with Blazor, the code above should be understandab At first glance, this way of adding PHP to Blazor can be considered difficult to use, but it enables utilizing a smart diffing algorithm during rendering. Hence, we can also create render-demanding applications like games by using this way. There is an [example](https://github.com/peachpiecompiler/peachpie-blazor/tree/dev/docs/src/Tests/Examples/WebGame) of a simple Asteroids-like game, which is fully implemented by PHP and executed as a client-side application. We can see a screenshot from this game below. -![Screenshot](.\images\asteroids.png) \ No newline at end of file +![Screenshot](./images/asteroids.png) \ No newline at end of file diff --git a/docs/overview.md b/docs/overview.md index 322071f..3feac85 100644 --- a/docs/overview.md +++ b/docs/overview.md @@ -23,7 +23,7 @@ Integration of Blazor and PeachPie enables executing PHP scripts on a client sid You can see a simple PHP web application, which is created as a Peachpie project and downloaded to a client by only one initial request below. The next navigation in the website is offline, using the Blazor environment. -![Demo](.\images\video1.gif) +![Demo](./images/video1.gif) ## Remarks