vue3-core/packages/vue/jsx-runtime
Evan You d0b7ef3b61
feat(types/jsx): support jsxImportSource, avoid global JSX conflict (#7958)
- 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 */`
2023-03-26 16:40:53 +08:00
..
dom.d.ts feat(types/jsx): support jsxImportSource, avoid global JSX conflict (#7958) 2023-03-26 16:40:53 +08:00
index.d.ts feat(types/jsx): support jsxImportSource, avoid global JSX conflict (#7958) 2023-03-26 16:40:53 +08:00
index.js feat(types/jsx): support jsxImportSource, avoid global JSX conflict (#7958) 2023-03-26 16:40:53 +08:00
index.mjs feat(types/jsx): support jsxImportSource, avoid global JSX conflict (#7958) 2023-03-26 16:40:53 +08:00
package.json feat(types/jsx): support jsxImportSource, avoid global JSX conflict (#7958) 2023-03-26 16:40:53 +08:00