JavaScriptModuleExport Class
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
Java |
Creates a new instance of JavaScriptModuleExport. |
Export |
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. |
Module |
Specifies the path to the JavaScript module containing prerendering code. |
Προϊόν | Εκδόσεις (Καταργήθηκε) |
---|---|
ASP.NET Core | 2.0, 2.1, 2.2 (3.0, 3.1) |