0👍
Don’t worry about the database size yet. 6000 rows may sound like a lot, but in reality it is a really small amount for a database. Most likely you won’t encounter any performance problems at this scale and performance problems are best solved when you encounter them.
Your other question is a bit unclear what you are asking. Likely you will have something like a component that includes all the posts on the page and then a separate post component. When the user wants to view all comments you’ll just send an Ajax request to the server, get an array of the comments and pass them to the post component inside v-for.
- [Vuejs]-Trying to loop with v-for but the value doesn't show when accessing by its property name
- [Vuejs]-How to import axios globally to a vue.js project
Source:stackexchange.com