Skip to content
Antony Budianto edited this page Oct 6, 2016 · 25 revisions

Angular CLI ?

I'd recommend trying https://github.com/angular/angular-cli too, the most important thing is you understand the tooling, and how to update the config.

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 either SystemJS or Webpack

Adding CSS packages

  • You can include the link references in index.html within app:css tag
<!-- app:css -->
<link rel="stylesheet" href="../node_modules/.../main.css">
<!-- endinject -->

Adding new JS libraries like lodash, etc from npm

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

  • Look for the package typings and do typings install <package-name> --save, if it's global one, add --global

  • Then just import the package in your TypeScript file

    // Example
    import { filter } from 'lodash';
  • and add the name in systemjs config file, and specify how the package will be loaded, for config reference

  • also add the name in karma config file

☀️ Support this starter by sharing it to your friends, giving stars, or pull requests! 😄

Clone this wiki locally