Skip to content

Latest commit

 

History

History
67 lines (35 loc) · 1.23 KB

README.md

File metadata and controls

67 lines (35 loc) · 1.23 KB

Angular2 with TypeScript and Gulp

A basic Angular2 application with Gulp as build system.

1. Prerequisites

nodejs must be installed on your system and the below global node packages must be installed:

  • gulp

npm i -g gulp

  • gulp-cli

npm i -g gulp-cli

  • typings

npm i -g [email protected]

  • typescript

npm i -g [email protected]

  • ts-node

npm i -g [email protected]

2. Cloning the repository

Clone the repository:

git clone https://github.com/kolorobot/angular2-typescript-gulp.git

Navigate to angular2-typescript-gulp directory:

cd angular2-typescript-gulp

3. Installing dependencies

Install dependencies by running the following command:

npm install

node_modules and typings directories will be created during the install.

4. Building the project

Build the project by running the following command:

npm run clean & npm run build

build directory will be created during the build

5. Starting the application

Start the application by running the following command:

npm start

The application will be displayed in the browser.

Resources