Skip to content

vladimirpavk/Angular2-WebWorker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular2 - WebWorker implementation

Generate defined number of random numbers.

webworker.service.ts - service implementation on Worker() class webworker.component.ts - component showing percentage of requested numbers generated, each component use webworker.service.ts

Angular 2 application skeleton with lite server

Node, Lite-server, TypeScript, BrowserSync, Angular2 application skeleton

Provided for developing Angular2 applications using Typescript served over lite-server server.

Prerequisites

Must have node and npm installed

How to use

Install node dependencies in your project root directory (this is where the 'package.json' file is located) using:

$ npm install

Start application with

$ npm run start

Base index.html page and SystemJS configuration file systemjs.config.js are located in ./app folder.

In your browser change the URL with http://localhost:3333/app/index.html and your Angular2 application will start. Angular2 TypeScirpt application is located in ./app/ts folder. The transpiled files are located in ./app/js folder.