-
Notifications
You must be signed in to change notification settings - Fork 53
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
Adding support for Angular Ivy #123
Comments
I don't know if you already solved it, but in my profile I made a fork where it is already functional with the latest version of Angular 17. |
I'm getting require is not defined after running Dependencies:
|
@yomiex It seems that you are trying to implement the library directly in your component right, because I think you are missing to add the following, since require is not part of a global definition in your Angular project or you don't have the types. |
The ts file has no issues, but I'm still getting this error when debugging from web. Was it working from your side? |
@AngelCareaga @yomiex |
@yomiex please add your example to codesandbox or a similar page, so we can help you. |
Since my version is not integrated to this repository;
For the moment this is how it will be, maybe you will integrate this version in the future, if not I will publish it as a new dependency with their respective credits and integrate more features and issues of this repo. |
@AngelCareaga |
Oh right, I see, well in that case you can do the steps during the build of your docker image using COPY and other commands. After installing your dependencies, add the steps as I mentioned before but now in the image build. |
@AngelCareaga |
Maybe this will work for you |
Ready, I have already updated and published the dependency here, I hope you find it useful, if you need anything tell me in issues over there. At the moment I have only tested with version 17 of Angular, if you need version 16, let me know. |
When upgrading our app to Angular v16, ng2-flatpickr is not working anymore, since Angular removed View engine and ng2-flatpick is not compatible with Angular Ivy.
ng2-flatpickr should be compatible with Angular Ivy in order to be used with new Angular version.
Can you please tell me if there is a plan for adding support for Ivy in near future?
The text was updated successfully, but these errors were encountered: