1.0.0-alpha.6 • Published 9 years ago

angular2-cli v1.0.0-alpha.6

Weekly downloads
10
License
MIT
Repository
github
Last release
9 years ago

Build Status

Note

This is very much a work in progress.

Currently it is supported for Mac and Linux.

Setup

Install Node.js. (Requires Node 4 or greater and NPM 3)

$ npm install -g angular2-cli

Creating your angular2 app

$ ng2 create <app-name> [options]

Running your app

$ cd <app-folder>
$ ng2 init
$ ng2 serve

Running tests

$ ng2 test

Lint

$ npm run lint

Dev and Production builds

$ ng2 build --dev
$ ng2 build --prod

$ ng2 serve --dev
$ ng2 serve --prod

Help

$ ng2 --help
$ ng2 <command> --help

placeholder for API references

Add environment specific api service urls src/app/environments/environment.[dev/prod].ts

import src/app/environments/environment.ts to your component and use the service variables for your HTTP requests.

Copy files/folders to build folder

If you need any files/folders (such as CNAME) needs to be copied to build folder

add those entries to build-config.js which is located in the project folder.

License


MIT

1.0.0-alpha.6

9 years ago

1.0.0-alpha.5

9 years ago

1.0.0-alpha.4

9 years ago

1.0.0-alpha.3

9 years ago

1.0.0-alpha.2

9 years ago

1.0.0-alpha.1

9 years ago

0.4.2

9 years ago

0.4.1

9 years ago

0.4.0

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.3

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.28

9 years ago

0.1.27

9 years ago

0.1.26

9 years ago

0.1.25

9 years ago

0.1.24

9 years ago

0.1.23

9 years ago

0.1.22

9 years ago

0.1.21

9 years ago

0.1.20

9 years ago

0.1.19

9 years ago

0.1.18

9 years ago

0.1.17

9 years ago

0.1.16

9 years ago

0.1.15

9 years ago

0.1.14

9 years ago

0.1.13

9 years ago

0.1.12

9 years ago

0.1.11

9 years ago

0.1.10

9 years ago

0.1.9

9 years ago

0.1.8

9 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago