antvis / F2

📱📈An elegant, interactive and flexible charting library for mobile.
https://f2.antv.vision/zh
MIT License
7.89k stars 649 forks source link

在微信小程序中, 配合antv/f2-wx开发过程中jsx无法自动编译. 已在package.json的script中配置了beforeCompile #1715

Open tsja2001 opened 1 year ago

tsja2001 commented 1 year ago

Reproduction link

https://github.com/tsja2001/antv-f2-wx-issue

Steps to reproduce

运行小程序, 点击进入柱状图页面, 修改/pages/antv/rect-base/chart.jsx 文件, 不会自动编译成.js文件. 需要手动执行npm run beforeCompile, 才能编译

Environment Info
f2 5.0.14
System -
Browser 微信小程序
tangying1027 commented 1 year ago

https://github.com/antvis/F2/tree/master/packages/wx/examples/test 可以查看官方wx的exmaple