From fef0b56ef6a99bf021c761a0a4b1a34c187ad8d8 Mon Sep 17 00:00:00 2001 From: ziga Date: Mon, 15 Mar 2021 15:58:51 +0100 Subject: [PATCH] docs: mention `vue-tsc` (#2497) --- docs/guide/features.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/features.md b/docs/guide/features.md index 7f6dfaa2df82b7..70489d0e0115de 100644 --- a/docs/guide/features.md +++ b/docs/guide/features.md @@ -30,7 +30,7 @@ Note you don't need to manually set these up - when you [create an app via `@vit Vite supports importing `.ts` files out of the box. -Vite only performs transpilation on `.ts` files and does **NOT** perform type checking. It assumes type checking is taken care of by your IDE and build process (you can run `tsc --noEmit` in the build script). +Vite only performs transpilation on `.ts` files and does **NOT** perform type checking. It assumes type checking is taken care of by your IDE and build process (you can run `tsc --noEmit` in the build script or install `vue-tsc` and run `vue-tsc --noEmit` to also type check your `*.vue` files). Vite uses [esbuild](https://github.com/evanw/esbuild) to transpile TypeScript into JavaScript which is about 20~30x faster than vanilla `tsc`, and HMR updates can reflect in the browser in under 50ms.