mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 05:18:39 +08:00
19 lines
449 B
TypeScript
19 lines
449 B
TypeScript
import application = require("application");
|
|
import navPageModule = require("../nav-page");
|
|
|
|
import trace = require("trace");
|
|
trace.enable();
|
|
trace.setCategories(trace.categories.concat(
|
|
trace.categories.NativeLifecycle
|
|
, trace.categories.Navigation
|
|
));
|
|
|
|
application.mainEntry = {
|
|
create: function () {
|
|
return new navPageModule.NavPage(0);
|
|
}
|
|
//backstackVisible: false,
|
|
//clearHistory: true
|
|
};
|
|
application.start();
|