37 lines
1020 B
JavaScript
37 lines
1020 B
JavaScript
"use strict";
|
|||
|
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||
|
|
const common_vendor = require("./common/vendor.js");
|
||
|
|
const locale_index = require("./locale/index.js");
|
||
|
|
if (!Math) {
|
||
|
|
"./pages/index/index.js";
|
||
|
|
"./pages/component/component.js";
|
||
|
|
"./pages/api/api.js";
|
||
|
|
"./pages/schema/schema.js";
|
||
|
|
}
|
||
|
|
const _sfc_main = {
|
||
|
|
onLaunch: function() {
|
||
|
|
common_vendor.index.__f__("log", "at App.vue:4", "App Launch");
|
||
|
|
},
|
||
|
|
onShow: function() {
|
||
|
|
common_vendor.index.__f__("log", "at App.vue:7", "App Show");
|
||
|
|
},
|
||
|
|
onHide: function() {
|
||
|
|
common_vendor.index.__f__("log", "at App.vue:10", "App Hide");
|
||
|
|
}
|
||
|
|
};
|
||
|
|
let i18nConfig = {
|
||
|
|
locale: common_vendor.index.getLocale(),
|
||
|
|
messages: locale_index.messages
|
||
|
|
};
|
||
|
|
const i18n = common_vendor.createI18n(i18nConfig);
|
||
|
|
function createApp() {
|
||
|
|
const app = common_vendor.createSSRApp(_sfc_main);
|
||
|
|
app.use(i18n);
|
||
|
|
return {
|
||
|
|
app
|
||
|
|
};
|
||
|
|
}
|
||
|
|
createApp().app.mount("#app");
|
||
|
|
exports.createApp = createApp;
|
||
|
|
//# sourceMappingURL=../.sourcemap/mp-weixin/app.js.map
|