Skip to content

Using the same route name and/or path multiple times should throw an error #828

Closed
@wszgxa

Description

@wszgxa

i find that the same route name and path don't throw an error when compile them.
just like:

'/test': {
    name: 'test',
    component: testa
  },
  '/test-2': {
    name: 'test',
    component: testb
  },

if preson a write a name same as b, and a don't find anything wrong,then a push to server.And then b's page will not work.

it's find in 0.7.13.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions