'How do I open a terminal in Stackblitz while working on an Angular project?
I know Stackblitz offers support for generating services and components from a couple of clicks. But I still need to work on terminal for my practice and add dependencies. Please don't answer that there are other better, methods than Terminal, that is not the question.
And I know that a terminal can be opened as I just opened an angular project which had terminal opened in it, but I couldn't find it or redo it.
So, How do I open a terminal in Stackblitz while working on an Angular project?
Solution 1:[1]
Stackblitz mentioned there is no terminal for Angular project
https://ng-girls.gitbook.io/todo-list-tutorial/workshop-todo-list/installations/stackblitz
Not sure how did you had terminal, but I'll keep looking :P
Solution 2:[2]
In Stackblitz You do not have a terminal to run Angular CLI commands. But you can use Angular Generator to generate components, services, Pipe, Directive, etc., etc.
Solution 3:[3]
It seems like you can't open a terminal in an Angular Project, but if you create a Node.js app, you can use the terminal to create an Angular project just as you would in a standard IDE e.g. VSCode.
However, I assume there is some sort of downside to this as the standard Angular setup available on the StackBlitz dashboard doesn't allow you to use the terminal. My guess is that booting a WebContainer (StackBlitz's Node.js runtime) is slower than just rendering the app statically.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | MJ Tsai |
Solution 2 | |
Solution 3 | Jacob |