import { VModalBootstrapper } from './Modules/VModalBootstrapper' ; import { TreeBootstrapper } from './Modules/TreeBootstrapper' ; import { IconBootstrapper } from './Modules/IconBootstrapper' ; import { VueConstructor , IVueBootstrapper } from './IVueBootstrapper' ; import { VueBootstrapper } from './Modules/VueBootstrapper' ; import { TooltipBootstrapper } from './Modules/TooltipBootstrapper' ; export class ApplicationBootstrapper implements IVueBootstrapper { public bootstrap ( vue ) { const bootstrappers = ApplicationBootstrapper . getAllBootstrappers ( ) ; for ( const bootstrapper of bootstrappers ) { bootstrapper . bootstrap ( vue ) ; } } private static getAllBootstrappers ( ) { return [ new IconBootstrapper ( ) , new TreeBootstrapper ( ) , new VueBootstrapper ( ) , new TooltipBootstrapper ( ) , new VModalBootstrapper ( ) , ] ; } }