Skip to content
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

Can it be imported with requirejs, and whether it complies with the AMD specification? #390

Open
liseipi opened this issue Jan 9, 2023 · 2 comments

Comments

@liseipi
Copy link

liseipi commented Jan 9, 2023

Can it be imported with requirejs, and whether it complies with the AMD specification

my use php+requirejs+ flowbite.js ?

After importing fjs with requirejs, it doesn't work

@zoltanszogyenyi
Copy link
Member

Hello @liseipi,

Currently, we have support for CJS, EMS, and UMD: https://www.npmjs.com/package/flowbite?activeTab=explore (you can explore the distribution files here).

I'll check this out but I'm currently focused on some other issues, but if you open a PR I'll be more than happy to consider adding that to a new version!

Cheers,
Zoltan

@liseipi
Copy link
Author

liseipi commented Mar 2, 2023

Hello @liseipi,

Currently, we have support for CJS, EMS, and UMD: https://www.npmjs.com/package/flowbite?activeTab=explore (you can explore the distribution files here).

I'll check this out but I'm currently focused on some other issues, but if you open a PR I'll be more than happy to consider adding that to a new version!

Cheers, Zoltan

@zoltanszogyenyi How to achieve

@liseipi liseipi changed the title Can it be imported with requirejs, and whether it complies with the AMD specification Can it be imported with requirejs, and whether it complies with the AMD specification? Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants