I am currently in the process of developing an app using vue-router
with the goal of achieving a user interface similar to that of Google Inbox or possibly the Techcrunch homepage. Specifically, I want to have a list of items where clicking on one item expands it in place to display more details. The URL should also update accordingly when an item is expanded, and collapsing the item back into the list should be possible by clicking "back". Additionally, I would like for the page to display the expanded item when accessed directly via URL, potentially showing more list items below as well.
However, I'm having trouble figuring out how to build this functionality. I've been experimenting with the idea of child routes, but I'm unsure where to position the child <router-view>
since its placement will always be dynamic based on which item was just clicked for expansion.
I suspect that utilizing named views could help me achieve this, but I find myself struggling to fully grasp the concept.
If you have any insights or suggestions on how I can implement this feature, please feel free to share your ideas!