mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-25 02:57:31 +00:00
Implement and document asp-prerender-data
This commit is contained in:
@@ -22,7 +22,8 @@ namespace Microsoft.AspNetCore.SpaServices.Prerendering
|
||||
INodeServices nodeServices,
|
||||
JavaScriptModuleExport bootModule,
|
||||
string requestAbsoluteUrl,
|
||||
string requestPathAndQuery)
|
||||
string requestPathAndQuery,
|
||||
object customDataParameter)
|
||||
{
|
||||
return nodeServices.InvokeExport<RenderToStringResult>(
|
||||
NodeScript.Value.FileName,
|
||||
@@ -30,7 +31,8 @@ namespace Microsoft.AspNetCore.SpaServices.Prerendering
|
||||
applicationBasePath,
|
||||
bootModule,
|
||||
requestAbsoluteUrl,
|
||||
requestPathAndQuery);
|
||||
requestPathAndQuery,
|
||||
customDataParameter);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user