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?

NeNaD
  • 18,172
  • 8
  • 47
  • 89

1 Answers1

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.

eko
  • 39,722
  • 10
  • 72
  • 98