Multiple template files #44
Replies: 2 comments
-
Hello, sorry for the very late reply! This sounds like a good idea tho thanks! |
Beta Was this translation helpful? Give feedback.
-
I just pushed 5.0.0 update with this feature! |
Beta Was this translation helpful? Give feedback.
-
Hi there, thanks for the awesome router!
Since you're having the option of multiple handlers within the x-handler, why not multiple template files?
My use case it that I want to keep html code in different files, and I want to include more than one of these files on a specific path. Since the x-template attribute is so convenient, it would be nice to add all files there.
Is there any way to do this out of the box with javascript, in the handler code?
Beta Was this translation helpful? Give feedback.
All reactions