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
We have a lot of code that depends on having a default layout rendered depending on the what code module that is loaded. Since express has no concept of layouts anymore, we began looking for alternative implementations since rewriting is not an option, but a drop-in replacement is acceptable to us.
Then i found this great little library, and it will save us x amount of work. But how would one set a default layout, in 2.x we would do it like this:
We have a lot of code that depends on having a default layout rendered depending on the what code module that is loaded. Since express has no concept of layouts anymore, we began looking for alternative implementations since rewriting is not an option, but a drop-in replacement is acceptable to us.
Then i found this great little library, and it will save us x amount of work. But how would one set a default layout, in 2.x we would do it like this:
How can we do that using your middleware? :)
The text was updated successfully, but these errors were encountered: