MauiHybridWebView icon indicating copy to clipboard operation
MauiHybridWebView copied to clipboard

Add support for ESProj files to incorporate JS/TS apps as project references

Open Eilon opened this issue 2 years ago • 0 comments

See sample app from @javiercn here: https://github.com/javiercn/EsprojPlusAspNetStaticWebAssets (and this ESProj file: https://github.com/javiercn/EsprojPlusAspNetStaticWebAssets/blob/main/LibraryProjectStaticWebAssets/LibraryProjectStaticWebAssets.esproj).

That app shows how to use an ESProj (ECMAScript Project) to include the output JS files as Static Web Assets in an ASP.NET web app. The same pattern could hopefully be used to reference a JS/TS app from a .NET MAUI app with HybridWebView. The .NET MAUI app could reference the ESProj and include those assets as MAUI Assets without any manual steps.

More info on ESProj: https://learn.microsoft.com/visualstudio/ide/reference/property-pages-javascript-esproj?view=vs-2022

Eilon avatar Jun 21 '23 16:06 Eilon