adminjs icon indicating copy to clipboard operation
adminjs copied to clipboard

Impove the bundling of Adminjs and make it user friendly

Open shellking4 opened this issue 2 years ago • 2 comments

Adminjs is a great project. It makes me feel like there is another way than adding directus or strapi in order to achieve content management. But to be fair with you guys, this library is a pain to work with. A big pain because of the bundling kata and all stuffs. Cannot even import adminjs like (import AdminJS from 'adminjs') without getting an error and yet the docs states that we can do it that way. I think you could do better.

shellking4 avatar Jul 11 '23 10:07 shellking4

The docs also state that the library supports only ESM projects. Importing adminjs in a CJS project will result in an error.

dziraf avatar Jul 11 '23 10:07 dziraf

Thanks for your reply. would be great to have some support for using the library in CJS though

shellking4 avatar Jul 11 '23 11:07 shellking4