Aurelia – Tools


Aurelia – Tools


”;


In this chapter, you will learn how to set up and use aurelia-tools.

Step 1 – Root Folder

Let”s create a root folder where we will keep all Aurelia apps.

C:UsersusernameDesktop>mkdir aurelia-projects

Step 2 – Aurelia Tools

Inside aurelia-projects folder, we will clone aurelia-tools repository from github.

C:UsersusernameDesktopaurelia-projects>git clone https://github.com/aurelia/tools.git

Step 3 – Create a New Project

To start a new Aurelia project, the recommended way is to use one of the aurelia-skeletons. Let”s clone Aurelia skeletons from git.

C:UsersusernameDesktopaurelia-projects>git clone https://github.com/aurelia/skeleton-navigation.git

We also need to install packages, modules, and dependencies. You can choose between various skeleton apps. We will use skeleton-es2016.

C:UsersusernameDesktopaurelia-projectsskeleton-navigationskeleton-es2016>npm install
C:UsersusernameDesktopaurelia-projectsskeleton-navigationskeleton-es2016>jspm install

Finally, we need to run the following code to build the development environment.

C:UsersusernameDesktopaurelia-projectsskeleton-navigationskeleton-es2016>gulp build-dev-env

Step 4 – Update

Update local repositories using the following command.

C:UsersusernameDesktopaurelia-projectsskeleton-navigationskeleton-es2016>gulp update-own-deps

Step 5 – Pull

We can also pull Aurelia dependency without building.

C:UsersusernameDesktopaurelia-projectsskeleton-navigationskeleton-es2016>gulp pull-dev-env

Advertisements

”;

Leave a Reply

Your email address will not be published. Required fields are marked *