Welcome to a customized Administrationinstead of
Welcome to Shopware 6. To do this we first need to find an appropriate twig block to override. We don't want to replace too much but also to not override too little of the administration. In this case we only want to override the headline and not links or anything else on the page. Looking at the twig markup for the dashboard here, suggests that we only need to override the Twig block with the name
sw_dashboard_index_content_intro_content_headlineto achieve our goal.
.jsfile, which then has to be later imported, but we'll place it in
main.jsfile. It has to be placed into the
<plugin root>/src/Resources/app/administration/srcdirectory in order to be automatically found by Shopware 6.