A basic Angular2 application with Gulp as build system.
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]
Clone the repository:
git clone https://github.com/kolorobot/angular2-typescript-gulp.git
Navigate to angular2-typescript-gulp
directory:
cd angular2-typescript-gulp
Install dependencies by running the following command:
npm install
node_modules
and typings
directories will be created during the install.
Build the project by running the following command:
npm run clean & npm run build
build
directory will be created during the build
Start the application by running the following command:
npm start
The application will be displayed in the browser.