Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: 2.4.7版本"```jsx | pure " 配置导致 demoUrl 无法被编译 #2182

Closed
zhouzyc opened this issue Jul 30, 2024 · 2 comments
Closed

bug: 2.4.7版本"```jsx | pure " 配置导致 demoUrl 无法被编译 #2182

zhouzyc opened this issue Jul 30, 2024 · 2 comments

Comments

@zhouzyc
Copy link
Contributor

zhouzyc commented Jul 30, 2024

Version

2.4.7

OS Version

win11

Node.js Version

20.0.0

Browser Version

谷歌

Link to minimal reproduction

https://gitee.com/JS-VeryHappy/vh-mobile

Steps to reproduce

1.根据官方文档的配置
image
2.如果又使用了 demoUrl 的配置,
image
3.此时demoUrl的配置将不会生效
image
4.猜测是因为配置 ```jsx | pure 里面的代码解析将不会运行
5.我的场景是,代码不需要编译,但是需要显示出demoUrl对应的手机端iframe
6.这个现象是我从2.2.16升级到2.4.7才有的,以前是可以正常显示

What is expected?

希望正常显示

What is actually happening?

不显示

Any additional comments? (optional)

No response

@zhouzyc
Copy link
Contributor Author

zhouzyc commented Aug 7, 2024

本地的主题不生效了,有人帮忙看下吗

@zhouzyc zhouzyc changed the title bug: 2.2.16升级到2.4.7后,自定义主题不生效 bug: 2.4.7版本"```jsx | pure " 配置导致 demoUrl 无法被编译 Aug 7, 2024
@Jinbao1001
Copy link
Member

设计如此, 以前能跑是意外.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants