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

Support for Angular v19 #266

Closed
Cordobo opened this issue Nov 5, 2024 · 2 comments
Closed

Support for Angular v19 #266

Cordobo opened this issue Nov 5, 2024 · 2 comments
Assignees
Milestone

Comments

@Cordobo
Copy link
Owner

Cordobo commented Nov 5, 2024

Update: angularx-qrcode 19 for angular 19 is now out!

Since Angular 19, the latest version of the angularx-qrcode module is now exported as a standalone component. If you’re upgrading from a version before Angular 19, please replace the import statement with the component’s name since it’s now a standalone component. Instead of importing QRCodeModule we import QRCodeComponent.

# OLD - angular 18 and older
# File: app.module.ts
import { QRCodeModule } from 'angularx-qrcode';

# NEW - angular 19 and newer
// File: app.component.ts
import { QRCodeComponent } from 'angularx-qrcode';

Please let me know, if you have any issues with the latest release!


Original comment:

Angular 19 is coming out soon! 🎉

This issue is here to keep track of the progress on adding Angular 19 support to angularx-qrcode.

@Cordobo Cordobo self-assigned this Nov 5, 2024
@Cordobo Cordobo added this to the 19.x milestone Nov 5, 2024
@Cordobo Cordobo pinned this issue Nov 5, 2024
@igorosabel
Copy link

Hi! Angular 19 was realeased a couple days ago. Waiting for your update :) thanks!

Cordobo pushed a commit that referenced this issue Nov 21, 2024
Cordobo pushed a commit that referenced this issue Nov 21, 2024
Cordobo pushed a commit that referenced this issue Nov 21, 2024
Cordobo added a commit that referenced this issue Nov 21, 2024
@Cordobo
Copy link
Owner Author

Cordobo commented Nov 21, 2024

angularx-qrcode 19 for angular 19 is out.
angularx-qrcode @ npm

Since Angular 19, the latest version of the angularx-qrcode module is now exported as a standalone component. If you’re upgrading from a version before Angular 19, please replace the import statement with the component’s name since it’s now a standalone component. Instead of importing QRCodeModule we import QRCodeComponent.

# OLD - angular 18 and older
# File: app.module.ts
import { QRCodeModule } from 'angularx-qrcode';

# NEW - angular 19 and newer
// File: app.component.ts
import { QRCodeComponent } from 'angularx-qrcode';

Thanks for using angularx-qrcode and happy coding 🎉

@Cordobo Cordobo closed this as completed Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants