Skip to content

JavascriptMick/angular2-gulp-typescript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Angular 2 app written in TypeScript with Gulp Automation

Install Gulp

$ npm install -g gulp  # Or sudo npm install -g gulp

Compile your source and libs and move to dist

$ cd angular2-gulp-typescript
$ gulp
Using gulpfile ....angular2-gulp-typescript/gulpfile.js
Starting 'js'...
Starting 'libs'...
Starting 'html'...
Finished 'html' after 1.11 s
Finished 'js' after 1.13 s
Finished 'libs' after 1.12 s
Starting 'default'...
Finished 'default' after 14 μs

Edit your app (src folder)

We have good experience using these Typescript aware editors:

Load the app

From the directory that contains index.html:

$ npm install -g http-server  # Or sudo npm install -g http-server
$ cd dist
$ http-server                 # Creates a server at localhost:8080
# In a browser, visit localhost:8080/index.html

Clean dist

$ cd angular2-gulp-typescript
$ gulp clean

About

Hello world for Angular 2, Gulp and TS

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%