-
-
Notifications
You must be signed in to change notification settings - Fork 408
Open
Description
I'd like to gauge interest / comments for an easier way to customize index.html output.
Use-case
We have some dynamic values that we want to interpolate into the index.html file at build time. For example, static classes on the <html> element and special meta attributes.
Ember already provides the content-for hook, but adding individual attributes to specific html elements is trickier.
Possible solution
- Exposing the internal
configReplacePatternsAPI, for example aaddReplacePatternmethod or a key under config (environment.js), sayadditionalReplacePatterns: [ … ] - Allowing custom 'slots' for use with
{{content-for 'my-slot'}}.
Reference code
Metadata
Metadata
Assignees
Labels
No labels