Skip to content
Slush Generator For Angular 2
TypeScript JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
node_modules
templates/app
.gitignore
.npmignore
.travis.yml
LICENSE.md
README.md
appveyor.yml
package.json
slushfile.js
yarn.lock

README.md

slush-angular2

Build Status NPM version

Simple Angular2 seed using Systemjs

Generate a project that uses angular2, gulp, systemjs, and typescript.

Installation

Install package globally (requires slush):

npm i -g slush-angular2 [slush]

Usage

Run the generator:

slush angular2 [<name>]

Compile and serve:

npm start

App is now ready on port 8080.

To manually start compiler and server:

npm start or gulp start:dev

To bundle application and serve:

npm run prod or gulp start:prod

Structure

  • index.html <-- Entry point for application.
  • gulpfile.js <-- Gulp build tasks.
  • tsconfig.json <-- Configuration for TypeScript compiler.
  • tslint.json <-- Configuration for TypeScript linter.
  • res/ <-- Shared resources.
  • src/ <-- TypeScript goes in here.
  • boot.ts <-- Strapping boots.
  • config.ts <-- SystemJS configuration.
  • app/ <-- App module, component, and routing.
  • example/ <-- Example module with components, directive, pipe, and service.
  • dist/ <-- JavaScript comes out here.

Contribute

There are no guidelines for contributing. If you find a problem or have a suggestion go ahead and submit an issue.

License

MIT

You can’t perform that action at this time.