File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -546,6 +546,7 @@ You may be interested to know that Vue's templates actually compile to render fu
546
546
<pre><code>{{ result.render }}</code></pre>
547
547
<label>staticRenderFns:</label>
548
548
<pre v-for="(fn, index) in result.staticRenderFns"><code>_m({{ index }}): {{ fn }}</code></pre>
549
+ <pre v-if="!result.staticRenderFns.length"><code>{{ result.staticRenderFns }}</code></pre>
549
550
</div >
550
551
<div v-else >
551
552
<label>Compilation Error:</label>
@@ -558,7 +559,9 @@ new Vue({
558
559
data: {
559
560
templateText: ' \
560
561
<div>\n \
561
- <h1>I\' m a template!</h1>\n \
562
+ <header>\n \
563
+ <h1>I\' m a template!</h1>\n \
564
+ </header>\n \
562
565
<p v-if="message">\n \
563
566
{{ message }}\n \
564
567
</p>\n \
@@ -605,7 +608,7 @@ console.error = function (error) {
605
608
}
606
609
#vue-compile-demo textarea {
607
610
width : 100% ;
608
-
611
+ font-family : monospace ;
609
612
}
610
613
</style >
611
614
{% endraw %}
You can’t perform that action at this time.
0 commit comments