Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
JavaScriptModuleExport Class
Definition
- Assembly:
- Microsoft.AspNetCore.SpaServices.dll
- Package:
- Microsoft.AspNetCore.SpaServices v2.0.0
- Package:
- Microsoft.AspNetCore.SpaServices v2.1.0
- Package:
- Microsoft.AspNetCore.SpaServices v2.2.0
- Package:
- Microsoft.AspNetCore.SpaServices v3.0.3
- Package:
- Microsoft.AspNetCore.SpaServices v3.1.18
- Source:
- JavaScriptModuleExport.cs
- Source:
- JavaScriptModuleExport.cs
- Source:
- JavaScriptModuleExport.cs
- Source:
- JavaScriptModuleExport.cs
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
| Name | Description |
|---|---|
| JavaScriptModuleExport(String) |
Creates a new instance of JavaScriptModuleExport. |
Properties
| Name | Description |
|---|---|
| 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. |
Applies to
Feedback
Was this page helpful?
