This package has been deprecated

Author message:

Package no longer supported. Please use @ionic/angular for the latest version of Ionic Framework for Angular applications. https://www.npmjs.com/package/@ionic/angular

ionic-framework
TypeScript icon, indicating that this package has built-in type declarations

2.0.0-beta.2 • Public • Published

Ionic Framework 2.x

The official npm package for Ionic 2, complete with pre-built ES5 bundles, TypeScript definitions, Sass files, module-ready ES5 files, and more.

To get started with Ionic 2, please read the Installation guide.

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 Javascript file required by the user is ionic.js, as everything from Ionic can be imported from this file:

  import {App, Page} from 'ionic-framework/ionic';

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/. These can also be used with bundlers to a certain extent, for example, using Webpack's externals option. 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 2, we recommend installing and utilizing the Ionic CLI which will help you create pre-configured Ionic apps.

For full instructions on using Ionic 2, please visit the Ionic 2 Documentation

Package Sidebar

Install

npm i ionic-framework

Weekly Downloads

114

Version

2.0.0-beta.2

License

MIT

Last publish

Collaborators

  • jcesarmobile
  • ionicjs