Is any way to use Adonis model outside the app, not bootsraping all application.
I'm using dev version of adonis 4.0
U mean using Lucid without Adonis?
Yes, or bootstrap only models of application without controllers, routers etc.
I want to insert parsed data in database using Lucid.
I tried to require('./app/Models/someclass') and it gives me an error.
I still don't get it
I've got 2 apps, first Adonis, second grabber, and I want to integrate Lucid into grabber.
Hey @fzdmd! 馃憢
What is grabber?
In any case, Lucid is currently not a standalone (framework-agnostic) package.
We have the plan to remove these dependencies around Adonis, but this isn't a priority.
So you cannot use Lucid outside of an Adonis application (for the moment).
Any updates?
It will be possible to do it with the new version.
More information coming soon!
Is it possible to just use "next" branch and use Lucid standalone?
Will be great, any news?
Standalone support was dropped!
If you want to use Lucid, use AdonisJS.
Thanks for your reply
as official standalone support dropped I was wondering if anyone else is doing it ? I would love to use it with multiple frameworks. thx :-)
We switched to Laravel. Much better
@Johnson444 I'd say objection js is very similar to lucid. Also built on knex and has some shortcuts that lucid does not
Most helpful comment
It will be possible to do it with the new version.
More information coming soon!