forked from mystiq/hydrogen-web
Include Platform change in sdk docs
This commit is contained in:
parent
049a477008
commit
c07a42292c
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ import "hydrogen-view-sdk/theme-element-light.css";
|
|||
async function main() {
|
||||
const app = document.querySelector<HTMLDivElement>('#app')!
|
||||
const config = {};
|
||||
const platform = new Platform(app, assetPaths, config, { development: import.meta.env.DEV });
|
||||
const platform = new Platform({container: app, assetPaths, config, options: { development: import.meta.env.DEV }});
|
||||
const navigation = createNavigation();
|
||||
platform.setNavigation(navigation);
|
||||
const urlRouter = createRouter({
|
||||
|
|
Loading…
Reference in a new issue