說明
Description
Angular 找不到帶有 {{ PLACEHOLDER }}
匯出名稱的指令。匯出名稱在指令裝飾器的 exportAs
屬性中指定。在範本中使用 FormsModule 或 Material 模組時,這很常見,因為你忘記了匯入相應的模組。
Angular can’t find a directive with {{ PLACEHOLDER }}
export name. The export name is specified in the exportAs
property of the directive decorator. This is common when using FormsModule or Material modules in templates, and you’ve forgotten to import the corresponding modules.
這是常見的編譯器錯誤 NG8003:找不到帶有 export 的指令的執行期等價物。
This is the runtime equivalent of a common compiler error NG8003: No directive found with export.