Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 1.64 KB

README.md

File metadata and controls

21 lines (17 loc) · 1.64 KB

BlazorEverywhere

This project shows how to easily reuse Blazor UI and code across multiple web and hybrid projects.

Supported platforms

For AvaloniaUI please see MicroSugarDeveloperOrg/Avalonia.WebView and MicroSugarDeveloperOrg/Avalonia.BlazorWebView.Sample for now (note: they are not fully compatible with .NET 8 yet).

How to use

  1. Clone this repo git clone github.com/manfromarce/BlazorEverywhere
  2. Put most of your code can be put in the BlazorShared project which is referenced by all other projects
  3. Build and run the desired targets. You can remove projects that you don't need.

Some sample code is already present, mainly to show how to mix native controls and Blazor and how to use JavaScript interop.