Eric Foster 35b96bc934 initial commit | 6 年之前 | |
---|---|---|
.. | ||
animations | 6 年之前 | |
bundles | 6 年之前 | |
components | 6 年之前 | |
config | 6 年之前 | |
css | 6 年之前 | |
es2015 | 6 年之前 | |
fonts | 6 年之前 | |
gestures | 6 年之前 | |
navigation | 6 年之前 | |
platform | 6 年之前 | |
polyfills | 6 年之前 | |
tap-click | 6 年之前 | |
templates | 6 年之前 | |
themes | 6 年之前 | |
transitions | 6 年之前 | |
umd | 6 年之前 | |
util | 6 年之前 | |
README.md | 6 年之前 | |
index.d.ts | 6 年之前 | |
index.js | 6 年之前 | |
index.js.map | 6 年之前 | |
index.metadata.json | 6 年之前 | |
index.ngsummary.json | 6 年之前 | |
module.d.ts | 6 年之前 | |
module.js | 6 年之前 | |
module.js.map | 6 年之前 | |
module.metadata.json | 6 年之前 | |
module.ngsummary.json | 6 年之前 | |
package.json | 6 年之前 |
The official npm package for Ionic, complete with pre-built ES5 bundles, TypeScript definitions, Sass files, CommonJS ES5 files, and more.
To get started with Ionic, please read the Installation Guide.
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';
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.
To use Ionic, we recommend installing and utilizing the Ionic CLI which will help you create pre-configured Ionic apps.
For full instructions on using Ionic, please visit the Ionic Documentation