共用方式為


SpaPrerenderingOptions 類別

定義

警告

Prerendering is no longer supported out of box

表示 SPA 預先呈現中介軟體的選項。

public ref class SpaPrerenderingOptions
public class SpaPrerenderingOptions
[System.Obsolete("Prerendering is no longer supported out of box")]
public class SpaPrerenderingOptions
type SpaPrerenderingOptions = class
[<System.Obsolete("Prerendering is no longer supported out of box")>]
type SpaPrerenderingOptions = class
Public Class SpaPrerenderingOptions
繼承
SpaPrerenderingOptions
屬性

建構函式

SpaPrerenderingOptions()
已淘汰.

表示 SPA 預先呈現中介軟體的選項。

屬性

BootModuleBuilder
已淘汰.

取得或設定 ISpaPrerendererBuilder 前置工具在尋找開機模組檔案之前會叫用的 。

這只適用于在開發期間用來作為在應用程式執行時自動產生 JavaScript 開機檔案的方式。 這個屬性應該保留在 null 生產應用程式中。

BootModulePath
已淘汰.

取得或設定 JavaScript 檔案中,相對於應用程式根目錄的路徑,其中包含預先呈現邏輯。

ExcludeUrls
已淘汰.

取得或設定不應該執行預先呈現的 URL 前置詞陣列。

SupplyData
已淘汰.

取得或設定將在預先呈現期間叫用的回呼,可讓您將其他資料傳遞至預先呈現的進入點程式碼。

適用於