-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Functional component in dev mode dont work #1023
Labels
🐞 bug
Something isn't working
Comments
Fixed, but it's still better to name the functional component. |
pikax
pushed a commit
to pikax/vue-next
that referenced
this issue
Apr 29, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
3.0.0-beta.3
Reproduction link
https://github.com/vuejs/vue-next/blob/dece6102aa84c115a3d6481c6e0f27e5b4be3ef1/packages/runtime-core/src/helpers/resolveAssets.ts#L81
Steps to reproduce
Create a .vue component:
What is expected?
component works
What is actually happening?
error in console:
TypeError: Cannot assign to read only property 'name' of function (function code)
at resolveAsset (link to a line of code in reproduction link)
In vue 3.0.0-beta.2 everything works
The text was updated successfully, but these errors were encountered: