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
Hi, (sorry for my English)
I've this code: route ('/{index}' ,'index-page','../views/index', { index:['','home'] })
it return to me a obj valid to register routes, and work fine, but, if i add a empty url { index:["","home"] }
the #home works, but the first index not, because its empty. So how can i add a empty value for my home page? I did not want create a new route for solve this problem... i trying add '/' , '#'
but it does not work as it should.
Obs.: i use some like this ':rest*:', "404", "../views/notFound/on404" to not found page and all my routes works
thanks for attention (REALLY sorry for my English haha)
The text was updated successfully, but these errors were encountered:
Hi, (sorry for my English)
I've this code:
route ('/{index}' ,'index-page','../views/index', { index:['','home'] })
it return to me a obj valid to register routes, and work fine, but, if i add a empty url { index:["","home"] }
the #home works, but the first index not, because its empty. So how can i add a empty value for my home page? I did not want create a new route for solve this problem... i trying add '/' , '#'
but it does not work as it should.
Obs.: i use some like this ':rest*:', "404", "../views/notFound/on404" to not found page and all my routes works
thanks for attention (REALLY sorry for my English haha)
The text was updated successfully, but these errors were encountered: