Skip to content

Adding a root layout with a group makes the root page non accessible by path #667

@posva

Description

@posva
  • (group)/app.vue
  • (group).vue
  • index.vue

This is kind of a limitation design as there is no way to say (group) is not visitable

Possible solutions:

  • (group)/+layout.vue: the name indicates it's not visitable
  • definePage({ matchable: false }), more flexible, no new convention in files
  • Or both: a layout is implicitly not matchable but can be explicitly be matchable

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⚡️ enhancementimprovement over an existing feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions