- 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.
推薦閱讀
- 廣電5G從入門到精通
- 網(wǎng)絡(luò)協(xié)議工程
- 微商之道
- 物聯(lián)網(wǎng)安全:理論、實(shí)踐與創(chuàng)新
- 物聯(lián)網(wǎng)識(shí)別技術(shù)
- 異構(gòu)基因共表達(dá)網(wǎng)絡(luò)的分析方法
- Web Application Development with R Using Shiny
- 企業(yè)網(wǎng)絡(luò)安全管理
- 世界互聯(lián)網(wǎng)發(fā)展報(bào)告·2019
- LwIP應(yīng)用開發(fā)實(shí)戰(zhàn)指南:基于STM32
- 小型局域網(wǎng)組建
- 區(qū)塊鏈社區(qū)運(yùn)營手冊(cè)
- 趣話通信:6G的前世、今生和未來
- Python Web Scraping Cookbook
- Learning IoT with Particle Photon and Electron