Skip to content

tdhulster/angular2-seed

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Join the chat at https://gitter.im/mgechev/angular2-seed

A seed project for Angular 2 apps.

It is something similar to the AngularJS Quick Start but does the entire build with gulp.

Note: Angular 2.0 is not production ready yet! This seed project is perfect for playing around with the latest versions but do not start new projects with it since a lot of new changes are going to be introduced until the framework is officially released.

How to start

git clone https://github.com/mgechev/angular2-seed.git
cd angular2-seed
npm install
# If you don't have gulp already installed
npm install -g gulp
# dev
gulp serve.dev
# prod
gulp serve.prod

Directory Structure

.
├── app
│   ├── components
│   │   ├── about
│   │   │   ├── about.html
│   │   │   └── about.ts
│   │   └── home
│   │       ├── home.html
│   │       └── home.ts
│   ├── services
│   ├── typings
│   ├── app.css
│   ├── app.html
│   ├── app.ts
│   ├── index.html
│   └── init.ts
├── dist
│   ├── dev
│   └── prod
├── tsd_typings
├── gulpfile.js
├── package.json
├── tsconfig.json
└── tsd.json

Configuration

Configure your app base if you serve the app from another directory than root in gulpfile.js. Defaults to var APP_BASE = '/'

Now to extend?

If you want to use your custom libraries:

npm install my-library --save
vim gulpfile.js

Add reference to the installed library in PATH.src.lib.

Contributors

mgechev ludohenin NathanWalker redian dstockhammer robertpenner
mgechev ludohenin NathanWalker redian dstockhammer robertpenner
jgolla
jgolla

Change Log

You can follow the Angular 2 change log here.

License

MIT

About

Seed project for Angular 2 apps

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 74.0%
  • TypeScript 12.5%
  • HTML 9.4%
  • CSS 4.1%