We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea0a32a commit 9fabfd5Copy full SHA for 9fabfd5
src/Microsoft.AspNetCore.SpaServices/README.md
@@ -91,7 +91,7 @@ For example, in your `cshtml`,
91
asp-prerender-data="new {
92
IsGoldUser = true,
93
Cookies = ViewContext.HttpContext.Request.Cookies
94
- }""></div>
+ }"></div>
95
96
Now in your JavaScript prerendering function, you can access this data by reading `params.data`, e.g.:
97
0 commit comments