mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-24 23:01:57 +08:00
doc(bootstrap): update usage
This commit is contained in:
@ -39,11 +39,10 @@ const _reflect: any = Reflect;
|
||||
* @Component({
|
||||
* templateUrl: 'build/app.html',
|
||||
* })
|
||||
* ```
|
||||
*
|
||||
* export class MyClass{}
|
||||
*
|
||||
* ionicBootstrap(MyClass, null, {tabbarPlacement: 'bottom'})
|
||||
* ```
|
||||
*/
|
||||
export function ionicBootstrap(appRootComponent: any, customProviders?: Array<any>, config?: any): Promise<ComponentRef<any>> {
|
||||
// get all Ionic Providers
|
||||
|
Reference in New Issue
Block a user