Skip to content

Create Angular 2 bundle and required JS files for beginners to learn Angular 2 directly in browser.

Notifications You must be signed in to change notification settings

nosaku/ng2-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ng2-bundle

A project to create Angular 2 bundle JS for testing applications created in the Plunkr type of way. The primary aim is to reduce the number of requests made when using the official Angular 2 Plunkr examples.

Installation

npm install -g http-server
npm install
npm run bundle

After the npm install, you will see the Angular 2 bundle and other required JS files in dist directory. Use the bundled index.html for testing directly in the browser. For doing this use:

cd example
http-server -c-1

Then open a browser at the following url:

http://localhost:8080

After the bundle is created you can reuse it in various applications and test using direct transpiling in browser.

Scope

This repo is meant a starter for learning purposes only using the transpiling in browser.

For bootstrapping an app, please use the official angular-cli. If the CLI is still in early stages, these are the most popular starters kits:

Credit

This repo is based on the ng2-minimal made by jhades.

About

Create Angular 2 bundle and required JS files for beginners to learn Angular 2 directly in browser.

Resources

Stars

Watchers

Forks

Packages

No packages published