How to render like express in loopback 4

17 views
Skip to first unread message

Ron

unread,
Feb 1, 2021, 1:09:38 AM2/1/21
to LoopbackJS
Hi,

Noob question. But how do you render a html page as in expess.render()
only using loopback and not mounting express server.
I am using JWT authentication. In the controller there is a decorator
for /users/login which return a JWT token. But after a successful login
how to you render a new html page . In express I accomplished this
by express.render(). Struggling to find how to do it here.

Regards,

Ron
Reply all
Reply to author
Forward
0 new messages