How to set multiple item-children property for v-treeview

Suppose i have variable items structured like below:

    id: 1,
    name: 'value1',
    item_nested: [
        id: 2,
        name: 'value2',
        id: 3,
        name: 'value3',
        nested_item: [
            id: 4,
            name: 'value4'

In v-treeview we have props item-children that take string, it allow to set withc property will be taken as children reference. on the first level i want the property item_nested as children and the second level i want nested_item as children, but is it possible to set multiple value for item-children?

Source: Vue – Stack Overflow

October 11, 2021
Category : News
Tags: javascript | treeview | Vue.js | vuetify.js

Leave a Reply

Your email address will not be published. Required fields are marked *

Sitemap | Terms | Privacy | Cookies | Advertising

Senior Software Developer

Creator of @LzoMedia I am a backend software developer based in London who likes beautiful code and has an adherence to standards & love's open-source.