After generatingwith open-rc and bundling and inserting the .html and .js files I can see the page in the backoffice. The javacript file however, is failing to load as https://hostname/umbraco.
It looks like Angular doesn't respect the base href option anymore.
When I load the html page directly in another tab, everything works fine.
Right now my nuget package build targets also copies the javascript file to wwwroot/umbraco, but this is just a temporary workaround.
Any clues on how I can have the javascript file loaded as well from my app-plugins package folder?
Lit generates this Index, I have tried to figure out how I can adjust the output <script type="module" src="./7cba728f.js"></script>" but haven't found anything yet.
Lit webcomponent backoffice page loads script from /umbraco
I have been working on creating a backoffice package using the new Umbraco UI with Lit and webcomponents. https://umbraco.com/blog/umbraco-ui-library-release/
After generatingwith open-rc and bundling and inserting the .html and .js files I can see the page in the backoffice. The javacript file however, is failing to load as https://hostname/umbraco.
It looks like Angular doesn't respect the base href option anymore. When I load the html page directly in another tab, everything works fine.
Right now my nuget package build targets also copies the javascript file to wwwroot/umbraco, but this is just a temporary workaround.
Any clues on how I can have the javascript file loaded as well from my app-plugins package folder?
This is my Index.html now:
Lit generates this Index, I have tried to figure out how I can adjust the output
<script type="module" src="./7cba728f.js"></script>"
but haven't found anything yet.is working on a reply...