There is more than one way of using a template for our Component. The inline template we've used before can get "dirty" very fast.
Another way to declare a template is to create a
script tag with
type set to
text/template and set an
story-template. To use this template we need to reference a selector in the
template option of our Component to this script:
text/template is not a script that the browser can understand and so the browser will simply ignore it. This allows you to put anything in there, which can then be extracted and generate ...