It seems that I don't understand how to properly connect rcl to the Maui project. And I can't find approach that will help me.
In the example below I tried to reuse component from the RCL. Firstly css doesn't work at all. I tried a lot of stuff, but nothing give the expected result. These are some attempts add it to index.html.
<link href="_content/RCL7/RCL7.bundle.scp.css" rel="stylesheet" />
<link href="_content/RCL7/RCL7.styles.css" rel="stylesheet" />
<link href="css/RCL7.styles.css" rel="stylesheet" />
<link href="_content/RCL7/css/styles.css" rel="stylesheet" />
I have read a lot about css isolation, but it doesn't work for me, or I just don't understand how to use it properly. Secondly I tried to use static files from the wwwroot folder. You can see shared component from RCL
<div class="my-component">
This component is defined in the <strong>RCL7</strong> library.
<img class="spinner" src="background.png" width="64" alt="Loading..." />
</div>
and it has an image with the svg icon. In the Maui project I tried to add this component to the Index page.
@page "/"
<h1>Hello, world!</h1>
<RCL7.Component1 />
Welcome to your new app.
<img class="spinner" src="_content/RCL7/img/clock.svg" width="64" alt="Loading..." />
And tried to add svg icon directly from the wwwroot folder. But both of them give me the same result that it can't find the icon... Here is the link to GitHub for this testing project - https://github.com/BeaverMyName/MauiTesting7. I will be very grateful if you can help me to understand what is wrong with my approach. Thank you.