Customize the dashboard / welcome page

System Information
  • Strapi Version: 3.2.5
  • Operating System: Ubuntu 20.04
  • Database: MongoDB
  • Node Version: 13.7.0
  • NPM Version: 6.X

Dear Strapi Community,

how am I able to customize the welcome page?

It currently displays information which are not at all relevant for my “non technical” clients.
Ideally, id like to be able to display some form of custom rte content and also be able to hide the “Join the community” block.

At least for non admin roles. Thanks :slight_smile:

Hello @lnhh,

The Home page is located under the next path:

./node_modules/strapi-admin/admin/src/containers/HomePage/index.js

To modify it, you need to copy the index.js file to:

./admin/src/containers/HomePage/index.js

cmd to copy it:

mkdir -p ./admin/src/containers/HomePage/ && cp ./node_modules/strapi-admin/admin/src/containers/HomePage/index.js ./admin/src/containers/HomePage/index.js

Now you can edit it. Don’t forget to use yarn build after modifications.

2 Likes

oh wow - if its that simple, a small entry to the docs should be added :slight_smile:

thanks

1 Like

Hi @lnhh,
It is added in some sort of an way, just not directly a guide on how to edit the Homepage admin panel.

Do note the warning! :wink:

2 Likes

It contains an example on how to customize the Homepage of admin panel

:man_facepalming:

I skimmed through the docs and searched for custom home page / custom welcome page but somehow missed it. Thanks :slight_smile:

1 Like

Hi @MattieBelt is there a documented way to perform this in v4?

4 Likes

How to do it in v4? I can’t figure out where I have to copy the files in the structure.

4 Likes

Bump - would like to know about this for v4 also

3 Likes

Waiting for v4 update as well

3 Likes

Be good to get some docs or a guide for v4

4 Likes

Already tried everything to change home in V4, any thoughts about it?

3 Likes

I managed to change it by editing it in node_moduls/@strapi/admin/admin/src/pages/HomePage.
Then using patch-package I patched those changes.
This obviously isn’t ideal because it could mess things up for me if I update strapi to a newer version further down the line. I needed to change it though so it’s worth the risk :woman_shrugging:

4 Likes

Any update regarding this??

2 Likes

I didnt find some way in V4 ;’(

1 Like

Still not possible ine v4?

1 Like

@Charlotte_Hughes I try to use patch-package I did some change @starpi/admin/admin/src/content-manager/pages/EditView but patch package is not able to find it. How you have done that?

I had same issue with patch-package trick is to use:

yarn patch-package @strapi/@admin

rather than

yarn patch-package @strapi/@strapi

I have created a feature request for v4, which you can vote up.

https://feedback.strapi.io/feature-requests/p/customize-the-admin-dashboard-welcome-page-v4

1 Like