Customizing title in the browser tab
When you access the application URL in any browser, the default application name, IBM® Store Engagement is displayed as the title in the browser tab. You can change the default tab title as needed for your business.
If you want to customize the tab title, override the LoginFormComponent
component, which is part of the @store/functional-components Angular library.
Then, in the ngOnInit method of the LoginFormComponent
component, modify the document title as shown in the following sample
code.
document.title = this.translate.instant('login.LABEL_Custom_title');
Note: Add the LABEL_Custom_title attribute in the bundle JSON file.
For more information, see Modifying application-provided functional components.