diff --git a/lib/index.js b/lib/index.js index c6056a8b..42e485d1 100644 --- a/lib/index.js +++ b/lib/index.js @@ -10,9 +10,9 @@ export * from './components/index'; export function init(schemaUrl) { SchemaManager.instance().load(schemaUrl).then( () => { - return bootstrap(Redoc); + return bootstrap(SideMenu); } - ).then(() => bootstrap(SideMenu)) + ).then(() => bootstrap(Redoc)) .then( () => console.log('ReDoc bootstrapped!'), error => console.log(error)