-
Notifications
You must be signed in to change notification settings - Fork 5
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
Simple use extension fails #7
Comments
Hi Maykon, The @componizer/schematics depends on the angular cli schematics. Does you project have @angular/cli as a dev and a global dependency ? |
Yes, both. Now the ng-componizer creates a component, but the content inside .html file is not what I selected. |
I had a similar issue on a new angular project |
@maykon-oliveira I created a sample project to help with reproducing bugs, I tried this scenario and it's working fine Can you provide a reproducing steps ? |
@maykon-oliveira Okay, I found the explanation. I think you are using the latest version of Angular 10.x.x. |
@bilelmsekni You are right, |
@maykon-oliveira Thanks, please don't spend any time on this issue because it was part my fault. Earler, the dependencies of the schematics were peer so we got them transitevly from the Angular project where the extension will operate( not good if the project is 10 or later) |
@maykon-oliveira can you update to version 0.0.4 and let us know if the problem persists please ? if not, let's close this issue :) |
It's working perfectly now! awesome, tnks 🎉 |
I tried out to use this vscode extension, but it's not working well. I selected the code inside
** **
, right click and Componize, set component name, but I am facing a error.I installed
yarn add @componizer/schematics -D
It's in package.json devDependencies:
"@componizer/schematics": "^0.0.2",
Edit
I was on stackoverflow and I found this https://stackoverflow.com/questions/62917001/cannot-find-module-schematics-angular-utility-project. So I installed,
yarn add @schematics/angular@9.1.0 -D
, and tried again.The component was created, but the code inside html file it's not what I selected, it's just
<p>component works!</p>
The text was updated successfully, but these errors were encountered: