Skip to content
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

feat(title): set page title based on route config #56

Closed

Conversation

seanforyou23
Copy link
Collaborator

This PR allows devs to supply a title property in the main routing config that will automatically set the document title when the route is active. It doesn't fully solve #55 but it does at least give us correct titles for each view as well as a default for the app and even a fallback in the html in case none of the JS loads. Using a plugin recommended in the react docs.

@seanforyou23 seanforyou23 added the enhancement New feature or request label Jul 12, 2019
@seanforyou23
Copy link
Collaborator Author

Closing as this work was included along with #57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant