Monday, February 13, 2017

Aurelia - Environment Setup

In this chapter we will show you how to get started with Aurelia framework. Before we do that, you will need NodeJS installed on your system.
SN Software Description
1 NodeJS and NPM NodeJS is the platform needed for Aurelia development. Checkout our NodeJS Environment Setup.

Step 1 - Download Aurelia Package

Before we download Aurelia package, let's create folder on desktop where our app will be placed.
C:\Users\username\Desktop>mkdir aureliaApp
Now we can download the package from official Aurelia website.
Aurelia supports ES2016 and TypeScript. We will use ES2016. Extract the downloaded files inside the aureliaApp folder that we created above.

Step 2 - Install Web Server

First we need to install web server from command prompt window.
C:\Users\username\Desktop\aureliaApp>npm install http-server -g

Step 2 - Start Web Server

To start the web server we need to run the following code in command prompt.
C:\Users\username\Desktop\aureliaApp>http-server -o -c-1
We can see our first Aurelia app in browser.
Aurelia Environment Setup Start

No comments:

Post a Comment