Mobile Angular UI - Installation



In this chapter, we will install Mobile Angular UI, so that we can use it in our project.

There are two ways to install Mobile Angular UI −

  • Download from Github
  • Using Npm

Download from Github

Go to the following github link − https://github.com/mcasimir/mobile-angular-ui/releases and you can download the latest angular mobile UI. The github link for mobile angular ui is as follows

Download Github

Click on the Clone or download button (highlighted in blue) and it shows you the GitHub link (highlighted in orange) that can be cloned and a Download ZIP (highlighted in black) wherein you can download the full code of Angular Mobile UI.

To clone the GitHub link you need to install git. Make sure you have git installed on your system if you don’t have to follow this link to install GIT.

First will clone the github link − https://github.com/mcasimir/mobile-angular-ui.git.

Github Link

To get the mobile angular UI files − cd mobile-angular-ui/src/js.

UI files

The files that you need are present as shown above.

Using Npm

Using npm is the easiest way to install. Make sure you have nodejs and npm installed. If not, follow this link to install nodejs on your system.

Open your command prompt and create a directory called uiformobile/. Go inside the uiformobile/ using cd command.

Now execute the following command −

npm init

The command npm init will initialize the project −

command npm

It will create package.json as shown below −

{
   "name": "uiformobile",
   "version": "1.0.0",
   "description": "",
   "main": "index.js",
   "scripts": {
      "test": "echo \"Error: no test specified\" && exit 1"
   },
   "author": "",
   "license": "ISC"
}

Now run the following command to install mobile angular UI.

npm install --save mobile-angular-ui
save npm

You are done with installing the mobile angular UI, let us now see how to make use of it to create a mobile app.

Advertisements