Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants