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

Auto mode by default #5

Closed
dajma00 opened this issue Sep 25, 2023 · 1 comment
Closed

Auto mode by default #5

dajma00 opened this issue Sep 25, 2023 · 1 comment

Comments

@dajma00
Copy link

dajma00 commented Sep 25, 2023

Is it possible to assign Auto mode to all the app components, without specifying for each component using the @attribute [RenderModeAuto]?

@danroth27
Copy link
Owner

@dajma00 Yup, you can setup the Auto render mode in the app root if you want, but you'll need to move any code you want to run on the client to the client project. We're adding a template option to the Blazor Web App template that will set this up for you: dotnet/aspnetcore#50684

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

2 participants