You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/features.md
+8
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,14 @@ This will provide the following type shims:
50
50
- Types for the Vite-injected [env variables](./env-and-mode#env-variables) on `import.meta.env`
51
51
- Types for the [HMR API](./api-hmr) on `import.meta.hot`
52
52
53
+
## Vue
54
+
55
+
Vite provides first-class Vue support:
56
+
57
+
- Vue 3 SFC support via [@vitejs/plugin-vue](https://github.com/vitejs/vite/tree/main/packages/plugin-vue)
58
+
- Vue 3 JSX support via [@vitejs/plugin-vue-jsx](https://github.com/vitejs/vite/tree/main/packages/plugin-vue)
59
+
- Vue 2 support via [underfin/vite-plugin-vue2](https://github.com/underfin/vite-plugin-vue2)
60
+
53
61
## JSX
54
62
55
63
`.jsx` and `.tsx` files are also supported out of the box. JSX transpilation is also handled via [ESBuild](https://esbuild.github.io), and defaults to the React 16 flavor. React 17 style JSX support in ESBuild is tracked [here](https://github.com/evanw/esbuild/issues/334).
0 commit comments