- Hands-On Full Stack Web Development with Angular 6 and Laravel 5
- Fernando Monteiro
- 155字
- 2021-07-23 19:18:53
Creating a simple Angular application
In this chapter, we will cover all of the main points for the development of web applications using the Angular framework and the Angular CLI. Now, it's time to get in touch with the code and develop an application from start to finish.
In this example project, we will develop a simple frontend application to consume the data of an API and display it on the screen – something like a simple blog. Open your Terminal and type the following command:
ng new chapter03 --routing
Note that the --routing flag is optional, but, since our next example will use routes, it is a good practice to start an application with that flag. After the Angular CLI has installed, you should see the following message on your Terminal:
Testing binary
Binary is fine
added 1384 packages in 235.686s
You can `ng set --global packageManager=yarn`.
Project 'chapter03' successfully created.
推薦閱讀
- 計算機網絡與通信(第2版)
- 新一代物聯網架構技術:分層算力網絡
- 企業私有云建設指南
- 面向物聯網的嵌入式系統開發:基于CC2530和STM32微處理器
- React:Cross-Platform Application Development with React Native
- 數字通信同步技術的MATLAB與FPGA實現:Altera/Verilog版(第2版)
- Spring 5.0 Projects
- 6G新技術 新網絡 新通信
- Microservice Patterns and Best Practices
- Mastering Dart
- 大型企業微服務架構實踐與運營
- 移動物聯網:商業模式+案例分析+應用實戰
- 互聯網安全的40個智慧洞見(2016)
- 云計算技術與標準化
- Guide to NoSQL with Azure Cosmos DB