[Vuejs]-Vue Router – missing param for named route eror

1👍

Most likely your employee data is missing an id field.

Check these examples:

  • With id your example works as expected: employee with id
  • Without id you will see [vue-router] missing param for named route "employee-objective" in console: Expected "id" to be defined: employee without id
👤solis

Leave a comment