Book Image

Learning Aurelia

By : Manuel Guilbault
Book Image

Learning Aurelia

By: Manuel Guilbault

Overview of this book

<p>Aurelia is one of the most promising new JavaScript frameworks for mobile, desktop, and web, which makes developing powerful, modern web applications a straightforward task. Its power lies in its simplicity and clear workflow that enables developers to build next-generations apps for the web with ease.</p> <p>From initial structuring to full deployment, this book will serve as a step-by-step guide to develop a modern web application from scratch with the Aurelia framework. In addition to including a comprehensive coverage of various Aurelia framework features, this book will also show you how to utilize these features in the real world to develop a professional single-page web application. You’ll see how to make the most out of Aurelia by understanding the Aurelia workflow and then applying it in real-world development tasks. By the end of the book, you will have learned to develop a clean and maintainable application in Aurelia from scratch.</p>
Table of Contents (20 chapters)
Learning Aurelia
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Getting started


The first step for creating a JSPM-based application is to download the latest version of the skeletons from https://github.com/aurelia/skeleton-navigation/releases/latest and to unzip the file. In the root folder, you'll find a distinct directory for each available skeleton. The one we will look at here is named skeleton-esnext.

The JSPM skeleton uses Gulp as its build system. As such, let's first install it globally if you don't already have it installed, by opening a console and running the following command:

> npm install -g gulp

Additionally, we need to install JSPM itself:

> npm install -g jspm

Once the tools we need are installed, let's restore the dependencies of the project's build system, by opening a console in the project directory and running the following command:

> npm install

This command will restore all the dependencies that are used to run and build our application, basically everything in the devDependencies section of the package.json file.

Next, we need to restore the libraries used by our application itself by running the following command:

> jspm install -y

This command will use JSPM to restore all dependencies in the jspm section of the package.json file.

At this point, everything is ready to roll.