In this chapter, you will learn how to get started with Aurelia framework. Before you do that, you will need NodeJS installed on your system.
Sr.No | Software & Description |
---|---|
1 |
NodeJS and NPM NodeJS is the platform needed for Aurelia development. Checkout our NodeJS Environment Setup. |
Before we download Aurelia package, let's create a 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.
First we need to install the web server from command prompt window.
C:\Users\username\Desktop\aureliaApp>npm install http-server -g
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 the browser.