imba-router icon indicating copy to clipboard operation
imba-router copied to clipboard

Multiple route on a single tag

Open rmdwirizki opened this issue 6 years ago • 0 comments

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

rmdwirizki avatar May 18 '18 06:05 rmdwirizki