JavaScriptModuleExport Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use Microsoft.AspNetCore.SpaServices.Extensions
Describes how to find the JavaScript code that performs prerendering.
public ref class JavaScriptModuleExport
public class JavaScriptModuleExport
[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]
public class JavaScriptModuleExport
type JavaScriptModuleExport = class
[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>]
type JavaScriptModuleExport = class
Public Class JavaScriptModuleExport
- Inheritance
-
JavaScriptModuleExport
- Attributes
Constructors
JavaScriptModuleExport(String) |
Creates a new instance of JavaScriptModuleExport. |
Properties
ExportName |
If set, specifies the name of the CommonJS export that is the prerendering function to execute. If not set, the JavaScript module's default CommonJS export must itself be the prerendering function. |
ModuleName |
Specifies the path to the JavaScript module containing prerendering code. |