We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90168c2 commit 3f13daaCopy full SHA for 3f13daa
src/v2/guide/render-function.md
@@ -546,6 +546,7 @@ You may be interested to know that Vue's templates actually compile to render fu
546
<pre><code>{{ result.render }}</code></pre>
547
<label>staticRenderFns:</label>
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>
550
</div>
551
<div v-else>
552
<label>Compilation Error:</label>
@@ -558,7 +559,9 @@ new Vue({
558
559
data: {
560
templateText: '\
561
<div>\n\
- <h1>I\'m a template!</h1>\n\
562
+ <header>\n\
563
+ <h1>I\'m a template!</h1>\n\
564
+ </header>\n\
565
<p v-if="message">\n\
566
{{ message }}\n\
567
</p>\n\
@@ -605,7 +608,7 @@ console.error = function (error) {
605
608
}
606
609
#vue-compile-demo textarea {
607
610
width: 100%;
-
611
+font-family: monospace;
612
613
</style>
614
{% endraw %}
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments