Change logo and title in Index.html not working properly
Hello everyone
Like react i have changes the title and meta faviicon but only the faviicon seems to reflected , when refresh the changes title appears for milliseconds but then again the refine keyword is displayed in the space
4 Replies
Hi @jash.s. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
It seems like you're trying to change the title of your refine project. In refine, you can change the title of the
AuthPage
component using the title
prop. Here's an example of how you can do it:
Or you can customize the title with ThemedTitle
component.
If you're trying to change the title of the entire application and not just the AuthPage
, the information provided in the extracts is not sufficient to guide you on how to do that. You may need to check the official refine documentation (https://refine.dev/docs) for more details.
----------------------
Note: you can ask me a follow up question by @ mentioning me again
:speech_balloon:
----------------------<@1129363768661516329> kapa.ai is still learning and improving, please let us know how it did by reacting below
other-emerald•14mo ago
The issue is not for the auth login page but the header tab present in the browser the one which comes from index.htmk
optimistic-gold•14mo ago
Hi @jash.s sorry for the confusion. you need to use this for changing title
https://refine.dev/docs/packages/documentation/routers/react-router-v6/#documenttitlehandler
for page specific, https://refine.dev/docs/packages/documentation/routers/react-router-v6/#usedocumenttitle