How to add a new table as resource - Noob Query #1747
rajkumarpb
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Guys,
I'm new to AdminJS and I couldn't find the answer anywhere else. That is why raising this query here.
I created new adminjs project and added Sequelize as ORM. (I use MySQL).
Now, I would like the adminjs to pickup my table "Auth" as Resource. I tried adding the resource inside options.ts and tested, it is not showing in navigation panel.
Tried adding the whole database also inside options.ts and still not showing up. Am I missing something here? This is just fresh app with nothing else added except only one entity file. Can someone please guide me what am I missing here?
auth.entity.ts
options.ts file
app.ts
Beta Was this translation helpful? Give feedback.
All reactions