Skip to content
Antony Budianto edited this page Sep 25, 2016 · 18 revisions

Angular CLI ?

I'd recommend you to try Angular CLI too, the most important thing is you understand the tooling, and how to update the config. This starter is made to be compatible for Angular CLI.

Clone or download the starter?

Simple. Clone is only for collaborators since they need .git history, or you need specific branch. Download is for general purpose use.

Download from releases page is highly recommended.

Is it production ready?

The starter is ready for production bundling using AoT compilation, Lazy-loading, and Tree-shaking support

Adding global CSS/JS packages

  • You can import them in src/app/vendor.ts
// Pre-included example
import 'bootstrap/dist/css/bootstrap.css';
import 'font-awesome/css/font-awesome.css';
import 'jquery';
import 'bootstrap/dist/js/bootstrap';

Adding modular JS package like lodash, etc from npm

  • Just do npm install --save <package-name>

  • Install the typing with npm install -D @types/<package-name>

  • Then just import the package in your TypeScript file

    // Example
    import { filter } from 'lodash';

Any files that I can delete from the starter?

Yes, you can remove these since it's only used for starter CI:

  • .env.travis
  • .travis.yml
  • appveyor.yml

⭐ Support this starter by giving stars, sharing to your friends, or contributing

Clone this wiki locally