Closed guohuihot closed 1 year ago
@antfu
This plugin only works for template and have no plan to support JSX.
This plugin only works for template and have no plan to support JSX.
好吧,谢谢老板的回复
加上下面配置可以了,记录下
include: [
/\.vue$/,
/\.vue\?vue/,
/\.js$/,
],
加上下面配置可以了,记录下
include: [ /\.vue$/, /\.vue\?vue/, /\.js$/, ],
请教下你怎么在js里写jsx的
加上下面配置可以了,记录下
include: [ /\.vue$/, /\.vue\?vue/, /\.js$/, ],
请教下你怎么在js里写jsx的
@vue/babel-preset-jsx
装这个插件, 看我上面的demo/package.json里有
Describe the bug
这是最小实现,我不知道在这里提问对不对?也可能是unplugin-auto-import的问题 https://gitee.com/guohuihot/vue2.7_demo![image](https://github.com/antfu/unplugin-vue-components/assets/3119995/60c05e31-67ba-45a0-8fd9-0433203df9dd)
Reproduction
https://gitee.com/guohuihot/vue2.7_demo
System Info
Used Package Manager
pnpm
Validations