How to use Angular CLI schematics in StackBlitz
Asked Answered
B

1

17

I am using StackBlitz for testing and answering Angular related questions on Stackoverflow. I am manually creating Components, Services, Modules, etc. Is there a way to use Angular CLI in StackBlitz to speed up the process?

Brandish answered 19/5, 2021 at 10:9 Comment(1)
To my knowledge there is no such option exist, #followingSyllabify
S
19

There's an even simpler way: right-click

enter image description here

It's pretty neat in the sense that it creates everything and adds it to the AppModule just like angular-cli schematics.

Source: https://github.com/stackblitz/core/issues/132#issuecomment-470386015

Also, you can drag and drop files from your local system to the stackblitz:

enter image description here

so you can generate everything on your local IDE or terminal and then drag and drop it to the stackblitz platform.

Selfmastery answered 19/5, 2021 at 10:28 Comment(1)
When I right click, I do not see the Angular Generator option, any idea why?Pollie

© 2022 - 2024 — McMap. All rights reserved.