|
環境設定:
首先安裝 node 和 npm,
接下來安裝 Angular CLI (command-line interface):
- sudo npm install -g @angular/cli
複製代碼 新建一個叫做 photoEditor 的新的 app:
This creates all the necessary files and folders for an Angular app.
To run the app and launch it in a browser, you need to navigate to the newly created project folder and run ng serve --open
- cd photoEditor
- ng serve --open
複製代碼 以上步驟可以 create and run your first Angular app!
|
|