We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Components that use both sub-components and partials throw error on $destroy.
var view = new Vue({ template: '<div><div v-component="dialog"><div v-partial="hello"></div></div></div>', partials: { hello: 'Hello {{name}}' }, components: { dialog: { template: '<content>' } } }); view.$mount(); view.$appendTo(document.body); view.$destroy();
Result:
Error: 'undefined' is not an object (evaluating 'this._directives[i]._teardown') {anonymous}() node_modules/vue/src/api/lifecycle.js:87 ...
The text was updated successfully, but these errors were encountered:
fix #610 transclusion + partial throws error in $destroy
26c9a62
No branches or pull requests
Components that use both sub-components and partials throw error on $destroy.
Result:
The text was updated successfully, but these errors were encountered: