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? 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
Since 0.12.2, my recursive tree list component has been broken. Here is the minimal example:
<!DOCTYPE html> <html> <body> <div class="foo"> <x-tree items="{{nav}}"></x-tree> </div> <script type="text/html" id="x-tree-template"> <ul> <li v-repeat="item: items"> {{item.text}} <x-tree v-if="item.children" items="{{item.children}}"></x-tree> </li> </ul> </script> <script src="node_modules/vue/dist/vue.js"></script> <script> Vue.config.debug = true; var foo = new Vue({ el: '.foo', data: { nav: [ { text: 'foo' }, { text: 'bar' }, { text: 'baz', children: [ { text: 'baz-1' }, { text: 'baz-2' } ] } ] }, components: { 'x-tree': { inherit: true, template: document.getElementById('x-tree-template').innerHTML, props: ['items'] } } }); </script> </body> </html>
It's OK without inherit: true:
inherit: true
But with inherit: true, it ouputs:
The text was updated successfully, but these errors were encountered:
838c98a
No branches or pull requests
Since 0.12.2, my recursive tree list component has been broken. Here is the minimal example:
It's OK without
inherit: true
:But with
inherit: true
, it ouputs:The text was updated successfully, but these errors were encountered: