We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
REPL
The following component throws a Cannot read property 'default' of undefined:
Cannot read property 'default' of undefined
App.html
<Test>Hmmm</Test> <script> export default { components: { Test: './test.html' } } </script>
Test.html
<div> I don't have a slot </div>
The text was updated successfully, but these errors were encountered:
Ah, yep. I think this should probably throw a more helpful error in dev mode:
<Test> cannot have children as it does not have a <slot> element
With that change, the current prod mode behaviour is probably acceptable?
I wonder if there's a smart way to construct a stack so that when you click the trace, it points to the correct line in the source code.
Sorry, something went wrong.
This doesn't throw an error anymore. Maybe there should be a warning along the lines of <Test> does not have a <slot> element?
<Test> does not have a <slot> element
Successfully merging a pull request may close this issue.
REPL
The following component throws a
Cannot read property 'default' of undefined
:App.html
Test.html
The text was updated successfully, but these errors were encountered: