-
-
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
useCssVars throw error when instance.subTree is null #7015
Comments
A computed property (or your template) shouldn't throw an error. If you have a realistic reproduction that does create the same situation, please share it. I checked the issue you linked and the problem is the Error global is not available in the template. I'm not sure if this is intentional so I opened #7018 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Vue version
3.2.41
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-4m67zb?file=src/App.vue
SFC
Steps to reproduce
What is expected?
Expect only ''Error: a" shown as error
What is actually happening?
Throws "TypeError: can't access property "shapeFlag", vnode is null" in addition to "a"
System Info
No response
Any additional comments?
Should be easy to fix.
Originally come from here: https://github.com/epicmaxco/vuestic-ui/issues/2614
The text was updated successfully, but these errors were encountered: