Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

Metronic Blazor to Blazor Web App Server net 8.0


Hello.

I just migrated the Metronic template to Blazor Web App Server, but I have something that is bothering me and I don't know how to solve it...

For example, when I refresh the page, the loader show after few seconds...

This is bad for user experience because first it render sidebar witch is light then after _Init( from _keenthemes.Partials.ThemeMode) is loaded is turned back to dark then show loader and then it stop.

I tried to find the problem my self but didn't get it.

Bellow I let 2 links, one with setup on Visual Studio and one with problem I described:

<a>https://youtu.be/C7d1el1lSRc</a>
<a>https://youtu.be/JUZomfFv-6s</a>


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (2)


Hello.

I just solved my problem by modify the line

<RoutesBackendKeenThemes @rendermode="RenderMode.InteractiveServer" />

with

<RoutesBackendKeenThemes @rendermode="new InteractiveServerRenderMode(prerender: false)" />

and now the layout working fine.



Hi David,

Sorry for the late reply.

Glad to hear you have already solved this problem. If you have more questions on this topic or anything else, feel free to ask.

Regards,
Lauris Stepanovs,
Keenthemes Support Team


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(