How to render a complex array in vuejs?

In this area, i want to enter people’s name and surname. This is my small component.

<v-row v-for="(list,i) in getList" :key="'list-item-'+i">
    
    <v-col cols="6"><v-text-field v-model="name"/></v-col>

    <v-col cols="6" > <v-text-field v-model="surName"/></v-col>

</v-row> 
data(){
    return{
          name:nulll,
          surName:null
       }
},

computed: {
        getList() {
            const newCategory = []

            const getCategory= [
                {category: 'elder', count: 3},
                {category: 'babies', count: 1},
                {category: 'children', count: 0}
            ]

            getCategory.map(item => {
                return item.count > 0 ? newCategory .push(item) : null
            })

            return newCategory 
        }
    },

The getList is a array and i filtered it if the count is not bigger
than 0. My problem is about creating right component counts for every
object . For example there are 3 elders and 1 babies in my getList
array. So ı need to create 4 component form for this.

But in my solution i can obtain only 2 components . 1 elder and 1 babies. Sure i need to create 4 components. 3 elders and 1 babies.

263 thoughts on “How to render a complex array in vuejs?”

  1. You really make it seem so easy with your presentation but I find this
    topic to be really something which I think I would never understand.
    It seems too complex and very broad for me. I am looking forward for
    your next post, I will try to get the hang of it!

    Reply
  2. May I simply say what a comfort to discover somebody that truly
    understands what they’re discussing online.
    You certainly realize how to bring a problem to light and make
    it important. A lot more people should check this out and understand this side of
    your story. It’s surprising you’re not more popular given that you surely possess the gift.

    Reply
  3. I think this is among the most vital info for me.
    And i am glad reading your article. But wanna remark on some general things,
    The web site style is perfect, the articles is really excellent
    : D. Good job, cheers

    Reply
  4. Have you ever considered about including a little bit more than just your
    articles? I mean, what you say is fundamental and all.
    But imagine if you added some great graphics or video clips
    to give your posts more, “pop”! Your content is excellent but with images
    and video clips, this blog could undeniably be one of the best in its field.
    Superb blog!

    Reply
  5. Howdy! This blog post couldn’t be written any better!
    Going through this article reminds me of my previous roommate!

    He constantly kept preaching about this. I will send this
    post to him. Pretty sure he will have a good read. I appreciate you for sharing!

    Reply
  6. Thank you for every other informative website.

    Where else may just I am getting that type of information written in such a perfect manner?
    I’ve a venture that I am simply now working on, and I have been on the look
    out for such info.

    Reply
  7. Heya fantastic website! Does running a blog like this
    take a massive amount work? I have absolutely no understanding of programming however
    I was hoping to start my own blog in the near future. Anyways, if you have any ideas or techniques for
    new blog owners please share. I understand this is off subject but I
    simply needed to ask. Appreciate it!

    Reply
  8. I’ve been exploring for a little for any high quality articles or weblog posts in this kind of space
    . Exploring in Yahoo I ultimately stumbled upon this website.

    Reading this info So i’m happy to exhibit that I’ve a very good uncanny feeling I
    found out just what I needed. I so much without a doubt will make certain to don?t overlook this site and provides it a look
    regularly. scoliosis surgery https://0401mm.tumblr.com/ scoliosis surgery

    Reply
  9. My developer is trying to persuade me to move to .net from PHP.
    I have always disliked the idea because of the
    costs. But he’s tryiong none the less. I’ve been using Movable-type on numerous websites for about
    a year and am concerned about switching
    to another platform. I have heard great things about blogengine.net.

    Is there a way I can import all my wordpress posts into it?
    Any kind of help would be really appreciated!
    ps4 https://tinyurl.com/45xtc52b ps4 games

    Reply
  10. Hi there, just became alert to your blog through Google, and found
    that it’s truly informative. I’m gonna watch out for brussels.
    I’ll appreciate if you continue this in future. Many people will be benefited from your writing.

    Cheers!

    Reply
  11. I’m really impressed with your writing skills and also with the layout on your weblog.
    Is this a paid theme or did you customize it yourself? Either way
    keep up the nice quality writing, it is rare to see a
    great blog like this one today.

    Reply
  12. Hello! This is kind of off topic but I need some help from an established blog. Is it hard to set up your own blog? I’m not very techincal but I can figure things out pretty quick. I’m thinking about making my own but I’m not sure where to begin. Do you have any ideas or suggestions? Cheers|

    Reply
  13. Hello, i read your blog occasionally and i own a
    similar one and i was just curious if you get a lot of spam remarks?
    If so how do you prevent it, any plugin or anything you
    can advise? I get so much lately it’s driving me crazy
    so any help is very much appreciated.

    Reply
  14. Interesting blog! Is your theme custom made or did you download
    it from somewhere? A design like yours with a few simple tweeks would really make my blog shine.

    Please let me know where you got your theme.
    Appreciate it

    Reply
  15. I was recommended this web site by my cousin. I’m not sure whether this post is written by him as no one else know such detailed about my trouble.
    You are amazing! Thanks!

    Reply
  16. With havin so much content and articles do you ever run into any problems of plagorism or copyright violation? My blog has a lot of exclusive content I’ve either created myself or
    outsourced but it appears a lot of it is popping it up all
    over the internet without my agreement. Do you know any solutions to help prevent content from
    being stolen? I’d definitely appreciate it.

    Reply
  17. Sweet blog! I found it while surfing around on Yahoo News. Do you have
    any tips on how to get listed in Yahoo News? I’ve been trying for
    a while but I never seem to get there! Thank you

    Reply
  18. Hello outstanding blog! Does running a blog such as this require
    a massive amount work? I have absolutely no knowledge of programming but I
    was hoping to start my own blog soon. Anyway, if you have any
    ideas or techniques for new blog owners please share.
    I know this is off subject however I simply wanted to ask.
    Kudos!

    Reply
  19. This is very interesting, You’re a very skilled blogger.
    I’ve joined your feed and look forward to seeking more of your great post.
    Also, I have shared your site in my social networks!

    Reply
  20. Whats up this is kind of of off topic but I was wanting to
    know if blogs use WYSIWYG editors or if you have to manually code with HTML.
    I’m starting a blog soon but have no coding expertise so I wanted to get guidance from someone
    with experience. Any help would be enormously appreciated!

    Reply
  21. Hello There. I found your weblog using msn. This is a really neatly written article.
    I will make sure to bookmark it and return to learn extra of your helpful information. Thank you for the post.
    I’ll definitely return.

    Reply

Leave a Comment