Source files

In the root of the package are ES5 sources in the CommonJS module format, their associated Typescript type definition files, and the Ionic Sass entry files. The Javascript sources are meant to be used by a bundler such as Webpack, SystemJS Builder, or Browserify. The type definitions provide support to Typescript tooling for things like type checking and code completion.

Usually, the only import required by the user is ionic-angular, as everything from Ionic is exported by the package:

import { App, NavController } from 'ionic-angular';

Bundles

Minified and unminified CommonJS and System.register module format bundles, as well as compiled CSS stylesheets for both Ionic iOS and Material Design are located bundles/. The SystemJS bundle is primarily meant to be included in a <script> tag for demos, tests and Javascript playgrounds like Plunker.

Installation and More

To use Ionic, we recommend installing and utilizing the Ionic CLI which will help you create pre-configured Ionic apps.