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 non standalone angular component #35

Open
NGautami opened this issue Nov 1, 2023 · 3 comments
Open

Support for non standalone angular component #35

NGautami opened this issue Nov 1, 2023 · 3 comments

Comments

@NGautami
Copy link

NGautami commented Nov 1, 2023

Hi @sand4rt

I am trying to understand how and if we can use this for non standalone angular components. Can you please help.

Thanks in advance!

@sand4rt
Copy link
Owner

sand4rt commented Nov 1, 2023

Hey @NGautami, only standalone components are supported at the moment. I think this can be added. Will look into this later on

@NGautami
Copy link
Author

Thanks @sand4rt

If it is possible for you, can you share some pointers how we can achieve this. We can give it a try.
Thanks!

@sand4rt
Copy link
Owner

sand4rt commented Nov 20, 2023

I would wait until the repository is absorbed by Playwright. See PR: microsoft/playwright#27783. But if you want to try it see: https://github.com/sand4rt/playwright-ct-angular/blob/main/playwright-ct-angular/registerSource.mjs#L169. That check needs to be removed. Then you may encounter some errors that need to be resolved.

Note: not sure if @analogjs/vite-plugin-angular supports non stand alone components

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