Skip to content
This repository has been archived by the owner on Nov 21, 2021. It is now read-only.

Nested routes #41

Closed
egoist opened this issue Jul 26, 2020 · 2 comments
Closed

Nested routes #41

egoist opened this issue Jul 26, 2020 · 2 comments
Labels
help wanted Extra attention is needed type: feature
Milestone

Comments

@egoist
Copy link
Collaborator

egoist commented Jul 26, 2020

To achieve something like this: https://router.vuejs.org/guide/essentials/nested-routes.html

[
  {
    path: '/gists',
    component: 'gists.vue',
    children: [
      { path: '', component: 'gists/index.vue' },
      { path: ':user', component: 'gists/[user].vue' }
    ]
  }
]

You can use file system based routes like this:

--- gists.vue
--- gists/
      --- index.vue
      --- [user].vue
@egoist egoist added priority: high Will be implemented within a month type: feature labels Jul 26, 2020
@egoist egoist mentioned this issue Jul 26, 2020
6 tasks
@egoist
Copy link
Collaborator Author

egoist commented Jul 27, 2020

This is a bit more complicated than I thought and it's not a necessary feature, so I'll close it for now.

@egoist egoist closed this as completed Jul 27, 2020
@egoist
Copy link
Collaborator Author

egoist commented Jul 27, 2020

well, we might still want this, it makes building nested UI layouts easier.

the question is how to handle preload, serverPreload etc on multiple pages, in parallel or in sequence?

@egoist egoist reopened this Jul 27, 2020
@egoist egoist added help wanted Extra attention is needed and removed priority: high Will be implemented within a month labels Jul 27, 2020
@egoist egoist added this to the 5.0.0-alpha.4 milestone Aug 7, 2020
@egoist egoist pinned this issue Aug 31, 2020
@egoist egoist closed this as completed Jan 26, 2021
@egoist egoist unpinned this issue Feb 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed type: feature
Projects
None yet
Development

No branches or pull requests

1 participant