babel-plugin-jsx icon indicating copy to clipboard operation
babel-plugin-jsx copied to clipboard

JSX for Vue 3

Results 122 babel-plugin-jsx issues
Sort by recently updated
recently updated
newest added

看着你给了一个引入,还有对应参数的意思以及默认值。 我想问,怎么定制化配置呀,这方面了解不是太深。 求解惑或者完善一下您的文档 谢谢!

question

### 🤔 What is the nature of this change? - [x] Fix bug ### 🔗 Related Issue #697 ### 💡 Background or solution Add slots to unresolve whitelist ### 📝...

### 🐛 Bug description vite build jsx umd,external vue "resolveDirective" is imported from external module "vue" but never used ![企业微信截图_aef398ba-d98a-4d6d-ab2f-f7b065985466](https://github.com/vuejs/babel-plugin-jsx/assets/20717402/7f54bb0b-2d9c-4ab6-9a3a-126674f5efb9) ### 📝 Steps to reproduce imported unused resolveDirective ![image](https://github.com/vuejs/babel-plugin-jsx/assets/20717402/7890da77-96c2-4cf4-816d-f27a0990a91d) Reproduction...

### 🐛 Bug description I'll use this issue to report multiple issues I have found while working with the plugin - Lack of typing for `vModel` ```tsx {/* vModel property...

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@babel/code-frame](https://babel.dev/docs/en/next/babel-code-frame) ([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-code-frame)) | [`^7.24.6` -> `^7.24.7`](https://renovatebot.com/diffs/npm/@babel%2fcode-frame/7.24.6/7.24.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcode-frame/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

dependencies

### 🐛 Bug description Event handlers using `onXXX={withModifiers(..., ["capture"])}` are not registered in "capture" mode. ### 📝 Steps to reproduce Attempt to register an event handler using the readme's suggested...

### Vue version 3.4.21 ### Link to minimal reproduction https://github.com/yuwu9145/vue-jsx-slot-demo ### Steps to reproduce 1. Load and run the project 2. Type something in the input to trigger parent App...

### 🧐 Problem Description 我在组件封装的时候用了动态插槽 ![image](https://github.com/user-attachments/assets/2183ae0a-b763-40f8-9f0c-5164b953c72a) 但是他报错了 ![image](https://github.com/user-attachments/assets/e9a93eb5-bc06-4651-90c4-9bf059e90ede) 我不知道该怎么解决 ### 💻 Sample code ` import { ICurdTableProps, IModeValuePagination } from './types/h-field-curd-table'; import { ITableEvents, ITableProps } from '@/components/h-components/h-data/types/h-field-table'; const modeValuePagination...

question

### 🧐 Problem Description As mentioned in https://github.com/vuejs/rfcs/discussions/388, I'd love to see template optimization with hoisting static elements. ### 💻 Sample code Here's an example from https://vuejs.org/guide/extras/rendering-mechanism.html#static-hoisting, You can see...

question

vue3.4官方推荐用"jsxImportSource": "vue"来引入tsx类型定义,手动写在shims.d.ts中的定义不起作用: ``` declare namespace JSX { export interface IntrinsicAttributes { vIf?: unknown vElseIf?: unknown vElse?: unknown vShow?: unknown vHtml?: unknown vText?: unknown vModel?: unknown vSlots?: { default?: Slot [key:...

question