Nested loop in Vue
<p>I have an object of objects that I am passing with vue and I am doing this to run:</p>

<pre><code> &lt;ul&gt;
    &lt;li v-for="subjects in questions"&gt;
        &lt;li v-for="question in subjects"&gt;
            @{{ question }}
        &lt;/li&gt;
    &lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>but I am getting this error: </p>

<p>Property or method "subjects" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option. 
(found in root instance)</p>

<p>How can I run a nested loop in vue?</p>