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

Reported in discord but it never went anywhere. ### 🐛 Bug description https://vue-jsx-explorer.netlify.app/#%3CComp%3E%0A%20%20%7B%7B%0A%20%20%20%20default%3A%20()%20%3D%3E%20%3Cdiv%20v-foo%20%2F%3E%0A%20%20%7D%7D%0A%3C%2FComp%3E If you [run this](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuXHQ8Q29tcEIgLz5cbjwvdGVtcGxhdGU+XG5cbjxzY3JpcHQgc2V0dXA+XG4gIGltcG9ydCBDb21wQiBmcm9tICcuL0NvbXBCLmpzJ1xuPC9zY3JpcHQ+IiwiaW1wb3J0LW1hcC5qc29uIjoie1xuICBcImltcG9ydHNcIjoge1xuICAgIFwidnVlXCI6IFwiaHR0cHM6Ly91bnBrZy5jb20vQHZ1ZS9ydW50aW1lLWRvbUAzLjIuMjcvZGlzdC9ydW50aW1lLWRvbS5lc20tYnJvd3Nlci5qc1wiXG4gIH1cbn0iLCJDb21wQS5qcyI6ImltcG9ydCB7IGNyZWF0ZVZOb2RlIH0gZnJvbSAndnVlJ1xuXG5leHBvcnQgZGVmYXVsdCB7XG4gIHNldHVwIChwcm9wcywgeyBzbG90cyB9KSB7XG4gICAgcmV0dXJuICgpID0+IGNyZWF0ZVZOb2RlKFwiZGl2XCIsIG51bGwsIFtzbG90cy5kZWZhdWx0KCldKVxuICB9XG59IiwiQ29tcEIuanMiOiJpbXBvcnQgeyBjcmVhdGVWTm9kZSwgcmVzb2x2ZURpcmVjdGl2ZSwgd2l0aERpcmVjdGl2ZXMsIEZyYWdtZW50IH0gZnJvbSAndnVlJ1xuaW1wb3J0IENvbXBBIGZyb20gJy4vQ29tcEEuanMnXG5cbmV4cG9ydCBkZWZhdWx0IHtcbiAgZGlyZWN0aXZlczoge1xuICAgIGludGVyc2VjdDoge1xuICAgICAgbW91bnRlZCAoKSB7XG4gICAgICAgIGNvbnNvbGUubG9nKCdJbnRlcnNlY3QgZnJvbSBCJylcbiAgICAgIH1cbiAgICB9XG4gIH0sXG4gIHNldHVwIChwcm9wcywgeyBzbG90cyB9KSB7XG4gICAgcmV0dXJuICgpID0+IHtcbiAgICAgIHJldHVybiBjcmVhdGVWTm9kZShDb21wQSwgbnVsbCwge1xuICAgICAgICBkZWZhdWx0OiAoKSA9PiB7XG4gICAgICAgICAgcmV0dXJuIGNyZWF0ZVZOb2RlKEZyYWdtZW50LCBudWxsLCBbXG4gICAgICAgICAgICB3aXRoRGlyZWN0aXZlcyhjcmVhdGVWTm9kZShcImlucHV0XCIsIG51bGwsIG51bGwsIDUxMiksIFtbcmVzb2x2ZURpcmVjdGl2ZShcImludGVyc2VjdFwiKV1dKVxuICAgICAgICAgIF0pO1xuICAgICAgICB9LFxuICAgICAgICBfOiAxXG4gICAgICB9KVxuICAgIH1cbiAgfVxufSJ9) you get `Cannot read properties of undefined (reading 'deep')` because the directive is...

bug

Bumps [postcss](https://github.com/postcss/postcss) from 7.0.35 to 7.0.39. Release notes Sourced from postcss's releases. 7.0.39 Reduce package size. Backport nanocolors to picocolors migration. 7.0.38 Update Processor#version. 7.0.37 Backport chalk to nanocolors migration....

dependencies

### 🧐 Problem Description ### 💻 Sample code ### 🚑 Other information

question

I didn't understand how to save typing for 'emits' and ' slots` when using Vue 3 with TSX. Can describe the event as follows: ``` emits: { onClick: (Function as...

question

### 🧐 Problem Description I can not use `v-slots` to get parameters in the slot. ### 💻 Sample code ```jsx v-slots={{ sex: (record) => { { record.sex === 0 ?...

question
need reproduction

I hava an existing Element, how do I render it into Vue JSX? Fake code: ```jsx const divEl = document.createElement('div') const component = { divEl } ``` The current solution...

### 🐛 Bug description When the default slot position of the parent component has a comment, the default slot is used by default ### 🏞 Desired result ### 🚑 Other...

bug

**vue** : 3.0.0 **element-plus**:1.0.2 **code**: ``` function renderFrom(h) { const { formConfCopy } = this; return ( {renderFormItem.call(this, h, formConfCopy.fields)} {formConfCopy.formBtns && formBtns.call(this, h)} ); } ``` props={{ model: this[formConfCopy.formModel]...

question

### 🧐 Problem Description { on: { click: this.handleClick } } can not be triggered even though 'transformOn' has been turn on. ### 💻 Sample code // example.jsx this.handleSearch(), },...

enhancement