vite-plugin-vue2-jsx icon indicating copy to clipboard operation
vite-plugin-vue2-jsx copied to clipboard

Vite plugin for Vue 2.7 JSX support

Results 10 vite-plugin-vue2-jsx issues
Sort by recently updated
recently updated
newest added

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) Welcome to [Renovate](https://togithub.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request....

```json5 // package.json { "dependencies": { "vue": "~2.7.8", }, "devDependencies": { "@babel/core": "^7.18.10", "@vitejs/plugin-legacy": "~2.0.0", "@vitejs/plugin-vue2": "^1.1.2", "@vitejs/plugin-vue2-jsx": "^1.0.2", "terser": "^5.14.2", "vite": "~3.0.3", }, "engines": { "node": "^16.0.0", "pnpm": "^7.9.0"...

Is there a plan to support the following way of defining components ```javascript // not using `defineComponent` call export const Bar = { ... } // not exported const Foo...

**package.json** ```json { "name": "business-ui", "private": true, "version": "0.0.0", "type": "module", "scripts": { "dev": "vite", "build": "vite build", "preview": "vite preview" }, "dependencies": { "dayjs": "^1.8.29", "lodash": "^4.17.21", "qs": "^6.11.2",...

Is there any plan to support SSR?

Hi there, I'm struggling to use the unified slot syntax in Vue 2.7. Reference usage [here](https://v2.vuejs.org/v2/guide/components-slots.html) Child component: ``` setup(props, { slots }) { return () => {slots.header} }, ```...

example: https://stackblitz.com/edit/vitejs-vite-dnqewx?file=src%2FApp.vue vue2.7.16中setup jsx语法中vModel无法绑定ref error log: [vite] Internal server error: unknown file: Property left of AssignmentExpression expected node to be of a type ["LVal","OptionalMemberExpression"] but instead got "CallExpression" Plugin: vite:vue2-jsx...

use render function to create customElement; ```html renderNode(node: any) { let compName = 'CNodeCommon' if (isArray) { compName = 'CNodeArray' } return }, ``` webpack use vm.$createElement,context is this ![image](https://github.com/vitejs/vite-plugin-vue2-jsx/assets/5386958/3d1caec5-ceeb-4c35-b031-2011e8aea507)...

-- The JSX syntax extension is not currently enabled -- The esbuild loader for this file is currently set to "js" but it must be set to "jsx" to be...