-
Notifications
You must be signed in to change notification settings - Fork 24
Is not working with @adminjs-prisma #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
features: [importExportFeature({
new ComponentLoader()
})] this is invalid configuration. You have to setup one instance of import componentLoader from '../path/to/your/component-loader'
// ...
adminJsOptions: {
componentLoader,
resources: [{
resource: {
model: getModelByName('ContactSearch'),
client: prisma,
},
options: {},
features: [importExportFeature({
componentLoader,
})]
}]
} |
@dziraf tried with express server and |
@Kuro091 did you ever find a solution for this? Facing the same issue trying to set up import/export functionality on a resource - I'm using express and prisma |
This is not working in development environment but somehow works in production environment 🤭 |
In case anyone else is struggling with this - I simply forgot to add the following lines of code to my code:
Basically, it was not working because without |
Uh oh!
There was an error while loading. Please reload this page.
As per title. I'm trying to have the import export function working in a NestJS application
This did not work and I was referred to a broken link

The text was updated successfully, but these errors were encountered: