mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-27 07:20:33 +03:00
Changed order component bootstrapping
This commit is contained in:
parent
1892ac4b00
commit
99c578efcc
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user