ember-cli / ember-cli/ember-page-title

Document example of ember-cli-head integration

Open
#208 1 comment 1 reaction 0 assignees View on GitHub
📓 Documentation
Dominant language
JavaScript
Stars
187
Forks
58
PR merge metrics
No merged PRs in 30d

Description

Integration with `ember-cli-head` can be done with v6.1.0 like this:

```
// app/services/page-title.js

import EmberPageTitleService from 'ember-page-title/services/page-title';

export default class PageTitleService extends EmberPageTitleService {
@service headData;

titleDidUpdate(title) {
this.headData.ogTitle = title;
}
}
```

Would be nice to include this into README / public docs app.

_Originally posted by @raido in https://github.com/ember-cli/ember-page-title/issues/201#issuecomment-761081734_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.