Note: This article is published on 12/07/2024.
This series of articles is absolutely a AI product or byproduct. This article could be a new style of my articles: using AI result associated with my own understanding, for example, associated with StackBlitz | Instant Dev Environments, to make the article eazy to write and more readable.
A - Introduction
The content of this article:
- A - Introduction
- B - What is Angular --- from AI
- C - Testing Environment --- from stackblitz.com
- D - How to Run Angular locally
B - What is Angular --- from AI
The following is a google result, actually, an AI output built in with Google. It is acurate, briefly, summarized. In fact, we do not have any reason to not use that as a searching result.
what is angular - Google Search
C - Testing Environment --- from stackblitz.com
Go to StackBlitz | Instant Dev Environments, in fact, https://stackblitz.com/
Note: If you do not register, you may need to register first. However, if you do not write your own, just as a reader, you can view other's result and run or test it.
Click New Project to create a new one:
Click Angular to create a Angular project:
Different from Node.js, you do not need to run the angular app, the environment will run for you automatically, such as
npm install && npm start
The code will in a top of middle panel, terminal in the bottom, a file folder on the left panel, while a preview in a right panel.
D - How to Run Angular locally
Following the AI result from Google: how to run angular project - Google Search
- Step 1: Install Node.js (including npm)
- Step 2: Create a Anguklar project
- Step 3: Run the file using ng server
Note: you'd better to run the google search in Chrome, otherwise, for example in Microsoft Edge, you might not get the AI result, even you run google search there. In case you cannot get the AI result, I copy it below:
References: