mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 14:01:20 +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.
|
* 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
|
* @usage
|
||||||
|
*
|
||||||
|
* ```ts
|
||||||
* import {ionicBootstrap} from 'ionic-angular';
|
* import {ionicBootstrap} from 'ionic-angular';
|
||||||
* import {Component} from '@angular/core';
|
* import {Component} from '@angular/core';
|
||||||
*
|
*
|
||||||
* @Component({
|
* @Component({
|
||||||
* templateUrl: 'build/app.html',
|
* templateUrl: 'build/app.html',
|
||||||
* })
|
* })
|
||||||
|
* ```
|
||||||
*
|
*
|
||||||
* export class MyClass{}
|
* export class MyClass{}
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user