The user account drop-in component does not require any special data or specific parameters to be initialized. To initialize the drop-in component, you must import /scripts/initializers/account.js into the appropriate file.
The langDefinitions property defines and registers language packs for the user account component. This allows you to provide localized text for different languages in your application.
Configuration options
The user account component initializer accepts the following property:
Parameter
Type
Req?
Description
langDefinitions
object
No
Provides language definitions for internationalization (i18n).
Example
The following example initializes the commerce-addresses block: