Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4406

How can I add the MAUI Blazor start page to the mobile project using the .Net Maui Blazor hybrid and web app template?

$
0
0

I have a .Net Maui Blazor hybrid and web app solution, with the four mobile, web, shared and client projects.Most of the application is in the shared project and the mobile and web projects display them within their respective wrappers.I need to set specific starting conditions, depending on the environment.In the web project I have the following component

@page "/"<MyAwesomeComponent @rendermode="RenderMode.InteractiveWebAssembly"/>

Which then displays MyAwesomeComponent from the shared project.If I add a similar component to the mobile project, it can't be found and if I create a mobile folder in the shared project and include the starting component the application errors with a multiple "/" starting point confliction.Can this be done?


Viewing all articles
Browse latest Browse all 4406

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>