diff --git a/bundle-app-root.xml b/bundle-app-root.xml index bccd573..40ea463 100644 --- a/bundle-app-root.xml +++ b/bundle-app-root.xml @@ -1,2 +1,2 @@ - + diff --git a/bundle-main-page.ts b/bundle-main-page.ts new file mode 100644 index 0000000..5746bf8 --- /dev/null +++ b/bundle-main-page.ts @@ -0,0 +1,6 @@ +import vmModule = require("./main-view-model"); +function pageLoaded(args) { + var page = args.object; + page.bindingContext = vmModule.mainViewModel; +} +exports.pageLoaded = pageLoaded; diff --git a/bundle-main-page.xml b/bundle-main-page.xml new file mode 100644 index 0000000..a296115 --- /dev/null +++ b/bundle-main-page.xml @@ -0,0 +1,7 @@ + + + + + +