title: Vue dynamically generate slots
body: <p>I need to generate slots from an array which I create dynamically.</p>
  <p>I manage to do so with this code:</p>
  <pre><code>&lt;template v-for=&quot;(department,id) in departments&quot; v-slot:[id]=&quot;record&quot;&gt;
      &lt;template v-if=&quot;record.departments.includes(id)&quot;&gt;
          &lt;i class=&quot;fas fa-check text-success&quot;&gt;&lt;/i&gt;
      &lt;/template&gt;
  &lt;/template&gt;
  </code></pre>
  <p>However, PhpStorm doesn't like it, and I get the following error:</p>
  <pre><code>http://www.w3.org/19999/XSL/Transform? Alt+Enter
  
  Namespace 'v-slot' is not bound
  This inspection checks for unbound namespace prefixes in XML.
  </code></pre>
  <p><a href="https://i.stack.imgur.com/JIfuF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JIfuF.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/g1Jto.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/g1Jto.png" alt="enter image description here" /></a></p>
  <p>I use Vue version 2.6.10 and PhpStorm 2017.3.6</p>
  <p>In terms of functionality, everything is fine, so I guess it is just a generic warning of PhpStorm.<br />
  Any idea how can I disable it?</p>