Adds support for path object with name property name for vue-router usage.
Going forward, if you're using the isUsingVueRouter
option, you'll need to provide and Object
with a name
property corresponding to a route. You can set isUsingVueRouter
to false
to keep using the string option.