Chromely Demo Projects
For developers who are interested in WebView2 there is EdgeSharp, an offshoot of Chromely.
This repository holds 2 sets of demos, each with their own examples.
Regular Chromely
For more info please see - Chromely Wiki.
Chromely Apps (Angular, React & Vue)
To get started with these demos please visit Chromely Apps.
Running the Demos
Notes
-
Only the CrossPlatDemo is ready out-of-the-box for all platforms.
-
All other demos are Windows-ready by default. You can run them, but may require a bit of knowlege on how those frameworks work.
-
For Angular/React/Vue using start url - local://dist/index.html it uses xcopy (on Windows to copy the dist folder to bin/exe folder) since it may be different for other platforms, you may have to copy the dist folder manually or replace xcopy functionality.
-
For Blazor demos, xcopy is also used in PostBuildEvent. This may require replacement too (or manual copy) for Linux and MacOS.
-
To run the demos in different platforms - Windows, Linux and MacOS may require a few tweaks.
Assumptions:
- Visual Studio Code (You can use Visual Studio 2019 too)
- x64 architecture
After downloading the source code - either by cloning or direct download, you need to do the following:
- Ensure appropriate runtime is selected in project file. Delete or comment out what is not needed.
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
<RuntimeIdentifier>osx-x64</RuntimeIdentifier>
-
Download and install .NET Core 3 Runtime binaries. You will need .NET Core 3 runtime installed. You can install directly if you know what is required. Or you start with building and running and see what is missing.
-
You can try .NET 5 too, but these demos require .NET Core 3 at minimum.
dotnet restore
dotnet build
dotnet run
and see what errors you get. It will usually tell you what is missing.
- If you are running on MacOS for the first time, you may run into issue #27.
**** This is just how to run the demos. For full documentation please see wiki.