title: Vue & conditional rendering with template tag
body: <p>I am trying to follow documentation:</p>
  <ul>
  <li><a href="https://v2.vuejs.org/v2/guide/conditional.html" rel="nofollow noreferrer">https://v2.vuejs.org/v2/guide/conditional.html</a></li>
  </ul>
  <p>But for some reason my template is not working as expected, as soon as I put <code>&lt;template v-if=&quot;variable&quot;&gt;</code> vue fails to render anything.</p>
  <pre><code>&lt;script type=&quot;text/x-template&quot; id=&quot;dashboard-inititial-message&quot;&gt;
  
  &lt;template v-if=&quot;okBoom&quot;&gt;
      &lt;h1&gt;Title&lt;/h1&gt;
      &lt;p&gt;Paragraph 1&lt;/p&gt;
      &lt;p&gt;Paragraph 2&lt;/p&gt;
  &lt;/template&gt;
  
  &lt;div v-if=&quot;ok&quot;&gt;
      &lt;h1&gt;Title&lt;/h1&gt;
      &lt;p&gt;Paragraph 1&lt;/p&gt;
      &lt;p&gt;Paragraph 2&lt;/p&gt;
  &lt;/div&gt;
  &lt;div v-else&gt;
      &lt;p&gt;ELSE&lt;/p&gt;
  &lt;/div&gt;
  &lt;/script&gt;
  </code></pre>
  <p>Any advice?</p>
  <p>Snippets that demonstrate problem:</p>
  <p><a href="https://jsfiddle.net/o2tL2ems/1/" rel="nofollow noreferrer">https://jsfiddle.net/o2tL2ems/1/</a></p>