You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get an error when trying to pass a string to the redirect parameter.
Am I doing something wrong?
new Router({
routes: {
{ path: '*', redirect: '/' }, <- Cannot call `Router` with object literal bound to `options` because string '/' is incompatible with `Location` [2] in property `redirect` of array element of property `routes`
}
})
The text was updated successfully, but these errors were encountered:
I get an error when trying to pass a string to the redirect parameter.
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: