Hi, love the library, it has helped me a lot!
I have used it to hack together some Blazor WordPress-plugins. Locally it runs fine. I am running into issues however when running it on the WordPress server, as scripts are requested through {currentUrl}/_content/xxx instead of {domain}/wp-content/plugins/my-app/_content/xxx
Before hooking on this library this was easily solved by implementing a custom Blazor.start:
Blazor.start({
loadBootResource: (type, name, defaultUri, integrity) => {
const basePluginPath = '/wp-content/plugins/myplugin/js/_framework/';
return basePluginPath + name;
},
});
Is there a way to achieve the same here?
Hi, love the library, it has helped me a lot!
I have used it to hack together some Blazor WordPress-plugins. Locally it runs fine. I am running into issues however when running it on the WordPress server, as scripts are requested through
{currentUrl}/_content/xxxinstead of{domain}/wp-content/plugins/my-app/_content/xxxBefore hooking on this library this was easily solved by implementing a custom Blazor.start:
Is there a way to achieve the same here?