Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 671 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 671 Bytes

BlazorJsInteropBoilerplate

The main goal of this side project was to create blank Blazor Server application and make use of Leafleat maps with it.

Due to pain caused by lack of strongly typed variables in callin BlazorJsInterop I decided to create little script to do it. It is far from being perfect but it works.

To make use of it hit cd/JsLib

modify it as you want, you may use npm/yarn to add npm packages and bundle them up via webpack. On calling npm run build webpack build will be run as well as strongly_typed.js which will create JsLib.cs file containing static class with static fields that can be referenced from main application.