You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a bug/typo that I noticed in the wiki about stencil-route-title
Current :
In the wiki currently, it says the component title as props and sets it as the title for the page.
Syntax
<stencil-route-titletitle="Home"/>
But with this syntax, it won't update the title, after looking into route-title file. I noticed it is expecting the title prop as pageTitle and not title as mentioned in the wiki.
Thanks @JayaKrishnaNamburu! I was also experiencing Stencil generating <title></title> until I changed <stencil-route-title title="" /> to pageTitle="".
Stencil version:
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com
This is a bug/typo that I noticed in the wiki about
stencil-route-title
Current :
In the wiki currently, it says the component
title
as props and sets it as the title for the page.Syntax
But with this syntax, it won't update the title, after looking into
route-title
file. I noticed it is expecting the title prop aspageTitle
and nottitle
as mentioned in the wiki.By changing it to
It started working for me.
Link for the file --> https://github.com/ionic-team/stencil-router/blob/master/packages/router/src/components/route-title/route-title.tsx#L16
Link for the wiki which needs to be updated --> https://github.com/ionic-team/stencil-router/wiki/stencil-route-title
The text was updated successfully, but these errors were encountered: