Skip to content

How use TableOfContent on Render.InteractiveAuto #1153

Answered by bao86
bao86 asked this question in Q&A
Discussion options

You must be logged in to vote

It can difinetely work with WebAssembly, as that is waht we are using on the demo site.

Perhaps you need to add a @rendermode in the component you are including the TableOfContents in? Also, is the code in the Client project?
the TableOfContent component is include on MainLayout.razor and if I add @rendermode I got an error.

It works if I add @rendermode="InteractiveAuto" in and @rendermode="InteractiveServer" in from App.razor
And the "counter" page (client side) is also working 👍

If I add @rendermode="InteractiveServer" on both and , the TableOfContent is working but not the "counter" page.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by vnbaaij
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants