mirror of https://github.com/vuejs/core.git
- No longer implicitly register global JSX types by default
- This avoid conflict when using Vue in the same project with React
- Global registration must now be done by explicitly importing /
referencing `vue/jsx`, or listing it in `compilerOptions.types`.
- Add `vue/jsx-runtime` to support `jsxImportSource` usage
- Can enable globally by setting `compilerOptions.jsxImportSource` to `'vue'`
- Can also opt-in per-file with `/** @jsxImportSource vue */`
|
||
|---|---|---|
| .. | ||
| compiler-core | ||
| compiler-dom | ||
| compiler-sfc | ||
| compiler-ssr | ||
| dts-test | ||
| reactivity | ||
| reactivity-transform | ||
| runtime-core | ||
| runtime-dom | ||
| runtime-test | ||
| server-renderer | ||
| sfc-playground | ||
| shared | ||
| size-check | ||
| template-explorer | ||
| vue | ||
| vue-compat | ||
| global.d.ts | ||