Is there any way to load multiple routes within a same .jade
file, for example:
I can have a /menu
route, another /header
, another /clientes
, when calling the /clientes
route I give res.render('clientes')
and call all three in a single file, type:
html
body
[Inclui a rota /header]
[Inclui a rota /menu]
[faz a lógica da tela de clientes]