mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-27 15:30:34 +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) {
|
export function init(schemaUrl) {
|
||||||
SchemaManager.instance().load(schemaUrl).then(
|
SchemaManager.instance().load(schemaUrl).then(
|
||||||
() => {
|
() => {
|
||||||
return bootstrap(Redoc);
|
return bootstrap(SideMenu);
|
||||||
}
|
}
|
||||||
).then(() => bootstrap(SideMenu))
|
).then(() => bootstrap(Redoc))
|
||||||
.then(
|
.then(
|
||||||
() => console.log('ReDoc bootstrapped!'),
|
() => console.log('ReDoc bootstrapped!'),
|
||||||
error => console.log(error)
|
error => console.log(error)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user