sfc playground render failed when load vue 3.15 and lower version
Version
3.1.5
Reproduction link
Steps to reproduce
- open sfc playground
- select vue version 3.15
- render failed
What is expected?
render as normal
What is actually happening?
render failed and throw error message as below: Uncaught SyntaxError: The requested module 'vue' does not provide an export named 'createElementBlock'
When 3.15 is released, sfc playground worked fine. The error is founded when 3.20-beta is released.
this is because createElementBlock
is a feature of v3.2.
It's will render failed when changing the version from v3.2 to v3.1.
Maybe should re-generate the render function when changing the version.
as workaround
- clear content of App.vue
- change the version
- edit App.vue
this is because
createElementBlock
is a feature of v3.2. It's will render failed when changing the version from v3.2 to v3.1. Maybe should re-generate the render function when changing the version.as workaround
- clear content of App.vue
- change the version
- edit App.vue
so that's it! thx a lot. I will close this issue.