imba-router
imba-router copied to clipboard
Multiple route on a single tag
Is it possible to include multiple routes on a single tag? Is there any sort of approact to implement something like this:
<Form route=['/create', '/edit/:slug']>
My current code was:
<Form route='/create'>
<Form route='/edit/:slug'>
It works okay and append only a single element in the document too But, it just feel weird to write the tags multiple times