-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fastboot initial title render #45
Comments
Is it known what work is required to get this working? Currently I think this issue is preventing the add-on from working correctly when used with ember-cli-staticboot with the |
I don't think so. If you'd like to investigate, then please feel free to do so and share any findings here ❤️ |
I don't feel quite sure enough about how best to fix this but I believe I've identified the problem. In document-title.js,
right before the call to self.router.setTitle and it solved the problem, though perhaps there's some better option? Please advise and I'll be happy to submit a pull request. |
@mminkoff I tried implementing what you did on my own fork but it did not appear to make a difference. Does this look correct to you? I don't want to go down the more primitive root of using ember-cli-head. |
That's correct @Ravenstine but yes it does depend on also using ember-cli-head (and adding setTitle to your route which then sets the title on the headData service. If you don't use ember-cli-head then perhaps you'd have to use the method they use to affect what's in the head - the |
@mminkoff Confirmed to work when using ember-cli-head. You have no idea how much time you've saved me. |
@Ravenstine So glad to hear it!! You have no idea how much time it took me to figure it out. :-) |
A repost of #43. The
title
in the html payload is the initial state and not the final state.The text was updated successfully, but these errors were encountered: