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

When the liquid template theme is enabled, the blazor razor component cannot be output properly #16459

Closed
justlucky opened this issue Jul 19, 2024 · 1 comment
Labels

Comments

@justlucky
Copy link

When the liquid template theme is enabled, the blazor razor component cannot be output properly

enviroment:
visual studio 2022,
net8,
orchard core 1.8.3

enable liquid template theme(agency theme or blog theme)
enable module OrchardCore.Demo

Add code to hello.cshtml

// this is blazor razor component
@(await Html.RenderComponentAsync(RenderMode.ServerPrerendered))

@* It includes the blazor.server.js. You can use Orchard Core resource management for this if you have a Blazor base project
(i.e. adding a "Blazor" resource for this file). *@

<script src="_framework/blazor.server.js" at="Foot"></script>

a0
a1
a2
a3
a4

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

No branches or pull requests

2 participants