From c40afc6906691e55b0c4be50863e0f0f9e30ba35 Mon Sep 17 00:00:00 2001 From: Nick Messing Date: Thu, 17 Jan 2019 01:32:06 +0200 Subject: [PATCH] chore: Update links to new JSX plugin --- src/v2/guide/render-function.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/v2/guide/render-function.md b/src/v2/guide/render-function.md index be320bfe7c..691b12db03 100644 --- a/src/v2/guide/render-function.md +++ b/src/v2/guide/render-function.md @@ -480,7 +480,7 @@ Especially when the template version is so simple in comparison: ``` -That's why there's a [Babel plugin](https://github.com/vuejs/babel-plugin-transform-vue-jsx) to use JSX with Vue, getting us back to a syntax that's closer to templates: +That's why there's a [Babel plugin](https://github.com/vuejs/jsx) to use JSX with Vue, getting us back to a syntax that's closer to templates: ``` js import AnchoredHeading from './AnchoredHeading.vue' @@ -499,7 +499,7 @@ new Vue({

Aliasing `createElement` to `h` is a common convention you'll see in the Vue ecosystem and is actually required for JSX. If `h` is not available in the scope, your app will throw an error.

-For more on how JSX maps to JavaScript, see the [usage docs](https://github.com/vuejs/babel-plugin-transform-vue-jsx#usage). +For more on how JSX maps to JavaScript, see the [usage docs](https://github.com/vuejs/jsx#installation). ## Functional Components