For Angular or web components that do not need any data from CMS (for example, login), you can use the CMS component of type CMSFlexComponent as a placeholder.
This CMS component contains the special flexType attribute. Spartacus use the flexType attribute in its CMS mapping instead of the original component type.
具體展現在下面的代碼裡:

如果typeCode等于CMSFlexComponent,則flexType賦成Component的FlexTypeCode.
SAP Spartacus的CMS mapping邏輯裡,使用Component的flexType字段。