From 4f4c729aea34e7675177d790bad1888c1877ccaa Mon Sep 17 00:00:00 2001 From: skirtle <65301168+skirtles-code@users.noreply.github.com> Date: Mon, 1 Feb 2021 03:59:04 +0000 Subject: [PATCH] docs: mention TSX support and how to enable it with Vue CLI --- src/guide/typescript-support.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/guide/typescript-support.md b/src/guide/typescript-support.md index 7bb4bdd08d..ffca8ac61b 100644 --- a/src/guide/typescript-support.md +++ b/src/guide/typescript-support.md @@ -76,6 +76,14 @@ Make sure that `script` part of the component has TypeScript set as a language: ``` +Or, if you want to combine TypeScript with a [JSX `render` function](/guide/render-function.html#jsx): + +```html + +``` + ### Editor Support For developing Vue applications with TypeScript, we strongly recommend using [Visual Studio Code](https://code.visualstudio.com/), which provides great out-of-the-box support for TypeScript. If you are using [single-file components](./single-file-component.html) (SFCs), get the awesome [Vetur extension](https://github.com/vuejs/vetur), which provides TypeScript inference inside SFCs and many other great features.