mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
docs(bootstrap): update usage example
This commit is contained in:
@ -31,12 +31,15 @@ const _reflect: any = Reflect;
|
||||
* app as an array for the second argument. You can also pass a config object as the third argument to configure your app's settings.
|
||||
*
|
||||
* @usage
|
||||
*
|
||||
* ```ts
|
||||
* import {ionicBootstrap} from 'ionic-angular';
|
||||
* import {Component} from '@angular/core';
|
||||
*
|
||||
* @Component({
|
||||
* templateUrl: 'build/app.html',
|
||||
* })
|
||||
* ```
|
||||
*
|
||||
* export class MyClass{}
|
||||
*
|
||||
|
Reference in New Issue
Block a user