Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sharing wwwroot with a Blazor WebApp? #152

Open
jonstelly opened this issue Feb 25, 2025 · 0 comments
Open

Sharing wwwroot with a Blazor WebApp? #152

jonstelly opened this issue Feb 25, 2025 · 0 comments

Comments

@jonstelly
Copy link

I started with a Blazor WebApp with the "Auto" interactive mode (so 2 projects, 1 for Client, 1 for Server)

dotnet new blazor --interactivity auto

I've added a Photino Blazor project to the solution. I'd like to deploy both as a blazor web-app that's hosted somewhere, but use Photino Blazor for an installable client app instead of WPA since I like the look of the Photino native stuff.

I'd like to share as much of (ideally, all) of the pages and routes from the Server project. MudBlazor theme, config, etc... Bonus points if it works for the Client project as well.

I understand the wasm stuff doesn't work in Photino Blazor but hoping there's a convenient way to share the wwwroot across the Server and Photino projects. Is this a csproj external files link scenario or is there a better option?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant