上QQ阅读APP看书,第一时间看更新
Creating a new application
This is one of the most important options. As its name says, it will create a new Aurelia application with a well-defined application folder structure and all the initial configuration files in just three steps.
Execute the following command and replace my-app with your application's name:
au new my-app
When the Aurelia CLI wizard is running, we will select the following options to create our application:
- Select 1 for ECMAScript next generation language
- Select 1 to create the project
- Select 1 to install the dependencies
Once you answer the last question, the CLI will install all the dependencies and once everything is complete, you will see the following output in your Terminal window: