The project structure
The Aurelia CLI will generate the source code with its base structure, which has everything configured and ready to start writing our application's source code.
The following screenshot shows the root application folder:
Let's start talking about the aurelia_project folder, which contains the main aurelia.json configuration file with all the settings about the dependencies, blunder, build target, loaders, testing run-time tool such as Karma, testing framework, and more. You will modify this file frequently to specify new dependencies our application needs to use.
The next element in the aurelia_folder is the environments folder, which contains three files: dev.json, stage.json, and prod.json. These files contain values depending on the environment you are running on. Do you remember the --env flag in the run option? The CLI will use one of these files to configure our app's environmental values.
The remaining two folders are generators and tasks. They are used to generate Aurelia custom reusable components and to declare gulp tasks, respectively.
The scripts folder contains the bundles generated after we execute the au build command.
As you might guess, the src folder contains our application source code, followed by the test folder, which contains our source code to test our project.
- 物聯(lián)網(wǎng)安全:理論、實踐與創(chuàng)新
- Truffle Quick Start Guide
- Hands-On Industrial Internet of Things
- 物聯(lián)網(wǎng)檢驗檢測技術
- TCP/IP入門經典(第5版)
- 物聯(lián)網(wǎng)關鍵技術及應用
- 中小型局域網(wǎng)組建、管理與維護實戰(zhàn)
- 物聯(lián)網(wǎng)與無線傳感器網(wǎng)絡
- 世界互聯(lián)網(wǎng)發(fā)展報告·2019
- Yii Application Development Cookbook(Second Edition)
- 城市治理一網(wǎng)統(tǒng)管
- Spring 5.0 Projects
- 網(wǎng)絡安全應急響應技術實戰(zhàn)指南
- Android UI Design
- 深入理解計算機網(wǎng)絡