Skip to content

Commit c452a16

Browse files
Alexander WhiteJustineo
authored andcommitted
Closes #1992 (#2000)
Workaround for issue with raw tags rendering on certain pages. Continuation of PR #1979
1 parent cbaa79f commit c452a16

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/v2/guide/components-dynamic-async.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ order: 105
1010

1111
我们之前曾经在一个多标签的界面中使用 `is` 特性来切换不同的组件:
1212

13-
```html
13+
{% codeblock lang:html %}
1414
<component v-bind:is="currentTabComponent"></component>
15-
```
15+
{% endcodeblock %}
1616

1717
当在这些组件之间切换的时候,你有时会想保持这些组件的状态,以避免反复重渲染导致的性能问题。例如我们来展开说一说这个多标签界面:
1818

src/v2/guide/components.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ Vue.component('button-counter', {
2828
</div>
2929
```
3030

31-
```js
31+
{% codeblock lang:js %}
3232
new Vue({ el: '#components-demo' })
33-
```
33+
{% endcodeblock %}
3434

3535
{% raw %}
3636
<div id="components-demo" class="demo">

0 commit comments

Comments
 (0)