1

I've been working for a long time with Loopback3, but it has reached EOL, so now I'm starting to migrate to LB4, the thing is, I've been digging around and haven't found a specific way to require LB4 as a node module, as it is possible with LB3 (https://loopback.io/doc/en/lb3/Working-with-LoopBack-objects.html). I'm pretty sure I should be importing LB4 from the dist built folder, but I haven't even found any reference or example on how to use it, if it is even possible.

  • Would it be `import {get} from '@loopback/rest'` or similar? See https://loopback.io/doc/en/lb4/Getting-started.html. – code Feb 01 '22 at 04:26

0 Answers0