File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
title : 描画関数とJSX
3
- updated : 2018-12-15
3
+ updated : 2019-01-20
4
4
type : guide
5
5
order : 303
6
6
---
@@ -477,7 +477,7 @@ createElement(
477
477
</anchored-heading >
478
478
```
479
479
480
- そのような理由から Vue で JSX を使うための [ Babel プラグイン] ( https://github.com/vuejs/babel-plugin-transform-vue- jsx ) があります。よりテンプレートに近い文法が戻ってきました。
480
+ そのような理由から Vue で JSX を使うための [ Babel プラグイン] ( https://github.com/vuejs/jsx ) があります。よりテンプレートに近い文法が戻ってきました。
481
481
482
482
``` js
483
483
import AnchoredHeading from ' ./AnchoredHeading.vue'
@@ -496,7 +496,7 @@ new Vue({
496
496
497
497
<p class =" tip " >`createElement` を `h` にエイリアスしていることは、 Vue のエコシステムの中でよく見かける慣習です。そして、それは実は JSX には必須です。もし `h` がそのスコープ内で利用可能でない場合、アプリケーションはエラーを throw するでしょう。</p >
498
498
499
- より詳しい JSX の JavaScript へのマップの仕方については、[ usage ドキュメント] ( https://github.com/vuejs/babel-plugin-transform-vue- jsx#usage ) をご参照ください。
499
+ より詳しい JSX の JavaScript へのマップの仕方については、[ usage ドキュメント] ( https://github.com/vuejs/jsx#installation ) をご参照ください。
500
500
501
501
## 関数型コンポーネント
502
502
You can’t perform that action at this time.
0 commit comments