ef4 / prember

Prerender Ember apps with Fastboot at build time.
MIT License
195 stars 17 forks source link

Title tags not respected in generated statics #6

Closed basz closed 6 years ago

basz commented 6 years ago

Per advise of the fast boot add-on i'm using https://github.com/kimroen/ember-cli-document-title to set titles. In the running app this is respected, but not in the outputted static html...

Haven't tested the other addons to set other meta tags, but I'm guessing those aren't respected either...

ef4 commented 6 years ago

As far as I can tell, ember-cli-document-title doesn't really work right with fastboot unless you also use ember-cli-head, and follow these instructions.

This is not caused by prember, you can verify by running your app under fastboot without prember and you'll see that titles are missing there too.

I just added some test coverage to verify that we can definitely set <title> and <meta> tags from within prember.